Skip to main content

backoff_ms

Function backoff_ms 

Source
pub fn backoff_ms(attempt: u32, base: u32, max: u32) -> u32
Expand description

Pure exponential backoff: min(max, base << attempt) with saturation.