Session::RetryConfig
Inherits Reference < Object
Retry configuration for resilient operations
Constructors
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)
SourceInstance methods
backoff_multiplier
Sourcebackoff_multiplier=(backoff_multiplier : Float64)
Sourcebase_delay
Sourcebase_delay=(base_delay : Time::Span)
Sourcejitter
Sourcejitter=(jitter : Float64)
Sourcemax_attempts
Sourcemax_attempts=(max_attempts : Int32)
Sourcemax_delay
Sourcemax_delay=(max_delay : Time::Span)
Source