fedimint_core::util::backoff_util

Function aggressive_backoff

Source
pub fn aggressive_backoff() -> FibonacciBackoff
Expand description

A backoff strategy for relatively quick foreground operations.

Starts at 200ms and increases to 5s. Will retry 10 times before giving up, with a maximum total delay between 20.8s and 22.8s depending on jitter.