class
Session::CircuitBreakerConfig
- Session::CircuitBreakerConfig
- Reference
- Object
Overview
Circuit Breaker configuration
Defined in:
retry.crConstructors
Instance Method Summary
- #failure_threshold : Int32
- #failure_threshold=(failure_threshold : Int32)
- #half_open_max_calls : Int32
- #half_open_max_calls=(half_open_max_calls : Int32)
- #reset_timeout : Time::Span
- #reset_timeout=(reset_timeout : Time::Span)
Constructor Detail
def self.new(failure_threshold : Int32 = 5, reset_timeout : Time::Span = 30.seconds, half_open_max_calls : Int32 = 1)
#