Documentation
¶
Overview ¶
Package backoff provides exponential backoff calculation and context-aware sleep utilities.
Index ¶
Constants ¶
View Source
const ( // MaxRetryAfterWait caps how long we'll honor a Retry-After header to prevent // a misbehaving server from blocking the agent for an unreasonable amount of time. MaxRetryAfterWait = 60 * time.Second )
Configuration constants for exponential backoff.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.