Skip to main content

CAPACITY_BASE_DELAY_SECS

Constant CAPACITY_BASE_DELAY_SECS 

Source
pub const CAPACITY_BASE_DELAY_SECS: u64 = 15;
Expand description

The first backoff after a capacity failure (429, or a 529 “overloaded”) the provider gave no Retry-After for, in seconds.

Deliberately much larger than DEFAULT_RETRY_BASE_DELAY_MS. An overload window lasts minutes, so a second of waiting only buys another refusal: the reported run (issue #417) spent all three of its retries inside one 529 window and was failed with 44 iterations of finished work in hand.