Module backoff

Module backoff 

Source
Expand description

This module provides an exponential backoff mechanism with jitter for retrying operations.

It includes BackoffEntry to track individual peer backoff states and BackoffManager to manage multiple peer backoff entries.

Structsยง

BackoffEntry
Represents the backoff state for a single peer or operation.
BackoffManager
Manages backoff states for multiple peers or operations.

Constantsยง

BACKOFF_MULTIPLIER ๐Ÿ”’
JITTER_RANGE ๐Ÿ”’
MAX_BACKOFF ๐Ÿ”’
MIN_BACKOFF ๐Ÿ”’