Skip to main content

RETRY_AFTER_MAX_SECS

Constant RETRY_AFTER_MAX_SECS 

Source
pub const RETRY_AFTER_MAX_SECS: u64 = 10;
Expand description

The largest Retry-After a §5.2 refusal may name.

§5.2 asks for “a randomly chosen value between 0 and 10 seconds”. The number is drawn by the caller and passed in: this crate reads no clock and no entropy source, and reaching for one here would be the first I/O in a sans-IO core.