| Name | Type | Description |
|---|---|---|
retry_number* | int | The retry attempt number (0-indexed). |
backoff_factor* | float | Multiplier for exponential backoff. Set to |
initial_delay* | float | Initial delay in seconds before first retry. |
max_delay* | float | Maximum delay in seconds between retries. Caps exponential backoff growth. |
jitter* | bool |
Calculate delay for a retry attempt with exponential backoff and optional jitter.
Whether to add random jitter to delay to avoid thundering herd.