Back to Site
Loading...
Searching...
No Matches
librats::ReconnectConfig Struct Reference

ReconnectConfig - Configuration for automatic peer reconnection. More...

#include <librats.h>

Collaboration diagram for librats::ReconnectConfig:
[legend]

Public Attributes

int max_attempts = 3
 
std::vector< int > retry_intervals_seconds = {5, 30, 120}
 
int stable_connection_threshold_seconds = 60
 
int stable_first_retry_seconds = 2
 
bool enabled = true
 

Detailed Description

ReconnectConfig - Configuration for automatic peer reconnection.

Definition at line 99 of file librats.h.

Member Data Documentation

◆ enabled

bool librats::ReconnectConfig::enabled = true

Definition at line 104 of file librats.h.

◆ max_attempts

int librats::ReconnectConfig::max_attempts = 3

Definition at line 100 of file librats.h.

◆ retry_intervals_seconds

std::vector<int> librats::ReconnectConfig::retry_intervals_seconds = {5, 30, 120}

Definition at line 101 of file librats.h.

◆ stable_connection_threshold_seconds

int librats::ReconnectConfig::stable_connection_threshold_seconds = 60

Definition at line 102 of file librats.h.

◆ stable_first_retry_seconds

int librats::ReconnectConfig::stable_first_retry_seconds = 2

Definition at line 103 of file librats.h.


The documentation for this struct was generated from the following file: