Skip to main content

retry_wait

Function retry_wait 

Source
fn retry_wait(
    error: &TransportError,
    backoff: Duration,
) -> Result<Duration, TransportError>
Expand description

The wait before retrying error, which is the wait the forge stated or else backoff. A stated wait above the cap fails the request.