Skip to main content

jittered

Function jittered 

Source
pub fn jittered(wait: Duration) -> Option<Duration>
Expand description

Spread wait over its upper half at random, so jobs that failed together do not all try again at once. None when the spread does not fit a Duration.