Skip to main content

retry_delay

Function retry_delay 

Source
pub fn retry_delay(attempt: u32) -> Duration
Expand description

The delay after the unsuccessful attempt numbered attempt, counting from zero: 1, 2, 4, …, 256, then 300 seconds.