Instance configuration
Behavior
- Opens the circuit after
failureThresholdconsecutive errors - During
resetTimeout, calls fail immediately - In
half-open, limits the number of controlled probes
Preventing failure cascades with open and half-open states
failureThreshold consecutive errorsresetTimeout, calls fail immediatelyhalf-open, limits the number of controlled probes