class
Session::RetryConfig
- Session::RetryConfig
- Reference
- Object
Overview
Retry configuration for resilient operations
Defined in:
retry.crConstructors
Instance Method Summary
- #backoff_multiplier : Float64
- #backoff_multiplier=(backoff_multiplier : Float64)
- #base_delay : Time::Span
- #base_delay=(base_delay : Time::Span)
- #jitter : Float64
- #jitter=(jitter : Float64)
- #max_attempts : Int32
- #max_attempts=(max_attempts : Int32)
- #max_delay : Time::Span
- #max_delay=(max_delay : Time::Span)
Constructor Detail
def self.new(max_attempts : Int32 = 3, base_delay : Time::Span = 100.milliseconds, max_delay : Time::Span = 5.seconds, backoff_multiplier : Float64 = 2.0, jitter : Float64 = 0.1)
#