Open DaChartreux opened 1 year ago
Same problem. because all request must be success then state will be open in the interval duration. look like it's a bug Does anyone still maintain this repository?
According to "Release It! Design and Deploy Production-ready Software" book by Michael T. Nygard,
We make a single call in half open mode, if that fails, circuit breaker opens, else it closes. For me, this was new coming from resilience4j
@DaChartreux
But then again, if that is so, the MaxRequests
settings shouldn't be present at all. This just doesn't make any sense.
It is stated that
Considering this, I assume that the circuit breaker will perform
MaxRequests
count of operations before opening? But it doesn't.Here is a reproducible code
This prints...
Why is it executing only once in half-open state?