Fetcher::RetryConfig
Constructors
new(max_retries : Int32 = Config::DEFAULT_MAX_RETRIES, base_delay : Time::Span = Config::DEFAULT_RETRY_BASE_DELAY, max_delay : Time::Span = Config::DEFAULT_RETRY_MAX_DELAY, exponential_base : Float64 = Config::DEFAULT_RETRY_EXPONENTIAL_BASE)
SourceInstance methods
base_delay
clone
Sourcecopy_with(max_retries _max_retries = @max_retries, base_delay _base_delay = @base_delay, max_delay _max_delay = @max_delay, exponential_base _exponential_base = @exponential_base)
Sourceexponential_base
max_delay
max_retries