Project

General

Profile

Enhancement #756 » 0001-Set-default-recon_timer-and-step-to-30s.patch

Loïc Gomez, 2022-03-17 20:08

View differences:

bip.conf.5
146 146
positive integer.
147 147

  
148 148
.TP
149
\fBreconn_timer\fP (default: \fB120\fP)
149
\fBreconn_timer\fP (default: \fB30\fP)
150 150
Defines the initial delay (in seconds) before a reconnection attempt.
151 151
The delay increases with the number of attempts:
152 152
delay = reconn_timer * number of attempts
samples/bip.conf
86 86
# Sets the initial delay (in seconds) before a reconnection attempt.
87 87
# The delay increases with the number of attempts:
88 88
# delay = reconn_timer * number of attempts
89
#reconn_timer = 120;
89
#reconn_timer = 30;
90 90

  
91 91
# Network definition, a name and server info
92 92
#network {
src/defaults.h
29 29
#define DEFAULT_LOG_LEVEL LOG_INFO
30 30
#define DEFAULT_LOG_FORMAT "%u/%n/%Y-%m/%c.%d.log"
31 31
#define DEFAULT_BIP_USE_NOTICE 0
32
#define DEFAULT_RECONN_TIMER 120
32
#define DEFAULT_RECONN_TIMER 30
33 33

  
34 34
#endif /* DEFAULTS_H */
35
- 
    (1-1/1)