class

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)
Source

Instance methods

failure_threshold
Source
failure_threshold=(failure_threshold : Int32)
Source
half_open_max_calls
Source
half_open_max_calls=(half_open_max_calls : Int32)
Source
reset_timeout
Source
reset_timeout=(reset_timeout : Time::Span)
Source