Skip to main content

MAX_RATE_LIMIT_BACKOFF

Constant MAX_RATE_LIMIT_BACKOFF 

Source
pub const MAX_RATE_LIMIT_BACKOFF: Duration;
Expand description

The longest a rate limit may silence this gateway, whatever GitHub asked for.

The reasoning is crate::MAX_LOCKOUT_BACKOFF’s, and so is the consequence: because a still-limited response simply re-latches, this ceiling is a polling interval and not a deadline. A primary limit resets at most an hour out, so a fifteen-minute clamp costs at most three extra probe requests across that hour — against the alternative of letting a single header take the dashboard down for the rest of the hour.