Skip to main content

next_interval

Function next_interval 

Source
pub(crate) fn next_interval(
    configured: Duration,
    rate_limited: Option<Duration>,
) -> Duration
Expand description

The wait before the next sweep: never shorter than the configured interval, and at least the clamped Retry-After when one was reported.