struct

Fetcher::RetryConfig

Inherits Struct < Value < Object

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

Instance methods

base_delay
clone
Source
copy_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)
Source
exponential_base
max_delay
max_retries