How do I force a circuit breaker back to closed? #31
-
|
After a dependency recovers, can I manually close a circuit breaker instead of waiting? |
Beta Was this translation helpful? Give feedback.
Answered by
shnwazdeveloper
May 10, 2026
Replies: 1 comment
-
|
Yes. Call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
clyxudev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Call
breaker.reset(). It clears failures, successes,lastError, andopenedAt, then sets the state back toclosed. If you passedonStateChange, it is called when the state changes.