Configuration for retry behavior.
More...
#include <retry_util.h>
|
|
int32_t | num_retries = 4 |
| | Maximum number of retry attempts (not including the first attempt)
|
| |
|
int32_t | min_wait_ms = 100 |
| | Minimum wait time between retries in milliseconds.
|
| |
|
int32_t | max_wait_ms = 60 * 1000 |
| | Maximum wait time between retries in milliseconds.
|
| |
|
int32_t | total_timeout_ms = 30 * 60 * 1000 |
| | Total wall-clock time budget for retries, including backoff sleeps.
|
| |
|
double | scale_factor = 2.0 |
| | Exponential backoff scale factor.
|
| |
Configuration for retry behavior.
The documentation for this struct was generated from the following file: