Difference between DefaultVolumeThreshold and DefaultErrorPercentThreshold
debraj-manna opened this issue · 0 comments
debraj-manna commented
This is not a bug but more of a query. I could find any other channel so posting it here.
Can you please explain what is the difference between DefaultVolumeThreshold
and DefaultErrorPercentThreshold
? What is the time window used for both?
Let's say I have set DefaultVolumeThreshold
to 10 , DefaultErrorPercentThreshold
to 5 and rolling time window of 1 second. In 1 second let's say all 6 requests failed will the circuit open as it is crossing the DefaultErrorPercentThreshold
? What will be behavior other way around if I set DefaultVolumeThreshold
to 5 and DefaultErrorPercentThreshold
to 10 and all 6 requests failed? Will the circuit open in this case?