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