Skip to main content

backoff_fault

Function backoff_fault 

Source
pub(super) fn backoff_fault(backoff: &PeerBackoff, now: u64) -> Option<Fault>
Expand description

Describes a peer’s backoff as a fault while it has not expired at now.

The age spans the oldest surviving failure bucket and the retry is the remaining delay.