ReconnectConfig - Configuration for automatic peer reconnection.
More...
#include <librats.h>
ReconnectConfig - Configuration for automatic peer reconnection.
Definition at line 99 of file librats.h.
◆ enabled
| bool librats::ReconnectConfig::enabled = true |
◆ max_attempts
| int librats::ReconnectConfig::max_attempts = 3 |
◆ retry_intervals_seconds
| std::vector<int> librats::ReconnectConfig::retry_intervals_seconds = {5, 30, 120} |
◆ stable_connection_threshold_seconds
| int librats::ReconnectConfig::stable_connection_threshold_seconds = 60 |
◆ stable_first_retry_seconds
| int librats::ReconnectConfig::stable_first_retry_seconds = 2 |
The documentation for this struct was generated from the following file: