Module retry_config

Source

Structs§

RetryBackoffConfig
Exponential backoff configuration values in milliseconds.

Constants§

NOTIFICATION_BACKOFF
Backoff profile for notification delivery retries.
RELAYER_HEALTH_BACKOFF
Backoff profile for relayer-health-check retries.
STATUS_EVM_BACKOFF
Backoff profile for EVM status-check retries.
STATUS_GENERIC_BACKOFF
Backoff profile for generic status-check retries (Solana/default).
STATUS_STELLAR_BACKOFF
Backoff profile for Stellar status-check retries.
SYSTEM_CLEANUP_BACKOFF
Backoff profile for system-cleanup retries.
TOKEN_SWAP_CRON_BACKOFF
Backoff profile for token-swap cron retries.
TOKEN_SWAP_REQUEST_BACKOFF
Backoff profile for token-swap request retries.
TX_CLEANUP_BACKOFF
Backoff profile for transaction-cleanup retries.
TX_REQUEST_BACKOFF
Backoff profile for transaction-request retries.
TX_SUBMISSION_BACKOFF
Backoff profile for transaction-submission retries.

Functions§

backoff_config_for_queue
Returns the backoff config for a given queue type.
retry_delay_secs
Computes retry delay in seconds from any backoff config + attempt.
status_backoff_config
Returns status-check backoff config for a network type.
status_check_retry_delay_secs
Computes status-check retry delay in seconds using capped exponential backoff.