Skip to main content

exponential

Function exponential 

Source
pub fn exponential(min: Duration, max: Duration) -> ExponentialBuilder
Expand description

Builds an exponential backoff schedule that retries indefinitely.

Delays start at min, double on each attempt (factor 2.0), are capped at max, and have jitter applied to spread out concurrent retriers.