We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are trying to use this library and we observe very strange behaviour:
CircuitBreaker
CB
Closed
CB.protect(..)
X
X+1
Is this expected that on
circuit/core/src/main/scala/io/chrisdavenport/circuit/CircuitBreaker.scala
Line 729 in 4e1e68e
expiresAt
Line 761 in 4e1e68e
The text was updated successfully, but these errors were encountered:
from: https://doc.akka.io/docs/akka/current/common/circuitbreaker.html, https://doc.akka.io/docs/akka/current/images/circuit-breaker-states.png
There should not be transition from Open to Closed without going through HalfOpen
Open
HalfOpen
Sorry, something went wrong.
fix davenverse#301
2e764df
No branches or pull requests
We are trying to use this library and we observe very strange behaviour:
CircuitBreaker
(CB
) is configured to open after 10 failures for a minuteCircuitBreaker
(CB
) isClosed
CB.protect(..)
starts handling one of the calls, let's name itX
CB
CB
rejects some requests as expected using fail-fast shortcutX
finishes successfully and [unexpectedly for me] closesCB
!!! <=== BUG or FEATURE?CB
as new and slowX+1
CB
opensX+1
finishes and closesCB
Is this expected that on
circuit/core/src/main/scala/io/chrisdavenport/circuit/CircuitBreaker.scala
Line 729 in 4e1e68e
there is no check for
expiresAt
? similar as oncircuit/core/src/main/scala/io/chrisdavenport/circuit/CircuitBreaker.scala
Line 761 in 4e1e68e
The text was updated successfully, but these errors were encountered: