Function failsafe::backoff::full_jittered
source · [−]pub fn full_jittered(start: Duration, max: Duration) -> FullJitteredⓘNotable traits for FullJittered<R>impl<R: GenRange> Iterator for FullJittered<R> type Item = Duration;
Expand description
Creates infinite stream of backoffs that keep the exponential growth, and jitter between 0 and that amount.
See https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/.