Circuit Breaker
States
State
Behavior
Configuration
Session.configure do |config|
config.circuit_breaker_enabled = true
config.circuit_breaker_config = Session::CircuitBreakerConfig.new(
failure_threshold: 5, # Failures before opening
reset_timeout: 30.seconds, # Time before probing recovery
half_open_max_calls: 1 # Probe requests in half-open state
)
endProperties
Property
Type
Default
Description
How It Works
Monitoring
Manual Reset
See Also
Last updated
Was this helpful?