fedimint_
core
0.6.0-alpha
Module backoff_
util
Module Items
Traits
Functions
In fedimint_
core::
util
fedimint_core
::
util
Module
backoff_util
Copy item path
Source
Traits
§
Backoff
Backoff is an
Iterator
that returns
Duration
.
Functions
§
aggressive_
backoff
A backoff strategy for relatively quick foreground operations.
background_
backoff
Backoff strategy for background tasks.
custom_
backoff
fibonacci_
max_
one_
hour
Retry every max 10s for up to one hour, with a more aggressive fibonacci backoff in the beginning to reduce expected latency.