You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Demo06_WaitAndRetryNestingCircuitBreaker the only message logged is "Strategy logging: ...". the "circuit breaker strategy: break if the action fails at least 4 times in a row" never happens?
Am I missing something?
The text was updated successfully, but these errors were encountered:
The FailureRatio was set to 1.0, that means all requests should fail during the sampling period.
But I've forget to set the SamplingDuration that's why it used the default value which is 30 seconds.
After setting the SamplingDuration to 2 seconds then the CB breaks nicely:
In the Demo06_WaitAndRetryNestingCircuitBreaker the only message logged is "Strategy logging: ...". the "circuit breaker strategy: break if the action fails at least 4 times in a row" never happens?
Am I missing something?
The text was updated successfully, but these errors were encountered: