Skip to main content

DEFAULT_RATE_LIMIT_BACKOFF

Constant DEFAULT_RATE_LIMIT_BACKOFF 

Source
pub const DEFAULT_RATE_LIMIT_BACKOFF: Duration;
Expand description

How long a detected rate limit backs off for when GitHub gives no usable retry-after and no x-ratelimit-reset.

Sixty seconds is GitHub’s own documented floor for its secondary rate limits, and the same value crate::DEFAULT_LOCKOUT_BACKOFF uses for the authentication lockout.