Function failsafe::backoff::equal_jittered
source · pub fn equal_jittered(start: Duration, max: Duration) -> EqualJittered ⓘ
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/.