Session::CircuitBreakerConfig
Inherits Reference < Object
Circuit Breaker configuration
Constructors
new(failure_threshold : Int32 = 5, reset_timeout : Time::Span = 30.seconds, half_open_max_calls : Int32 = 1)
SourceInstance methods
failure_threshold
Sourcefailure_threshold=(failure_threshold : Int32)
Sourcehalf_open_max_calls
Sourcehalf_open_max_calls=(half_open_max_calls : Int32)
Sourcereset_timeout
Sourcereset_timeout=(reset_timeout : Time::Span)
Source