Struct SYN_Backoff¶
Exponential backoff state.
#include <syn_backoff.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | attempts |
| uint32_t | current_ms |
| uint8_t | factor |
| uint8_t | max_attempts |
| uint32_t | max_ms |
| uint32_t | min_ms |
Public Attributes Documentation¶
variable attempts¶
Number of failed attempts
variable current_ms¶
Current timeout duration (ms)
variable factor¶
Multiplier (usually 2)
variable max_attempts¶
Maximum number of attempts
variable max_ms¶
Maximum timeout (ms)
variable min_ms¶
Initial timeout (ms)
The documentation for this class was generated from the following file src/syntropic/util/syn_backoff.h