Set default recon_timer (and step) to 30s
Waiting 2 minutes on the first disconnect is depressing. With this the maximum of 10min wait time is reached after 20 attempts instead of the current 5 attempts. Signed-off-by: Loïc Gomez <bip@animanova.fr>
This commit is contained in:
parent
f797d25e06
commit
f50d6b4b15
@ -146,7 +146,7 @@ Defines the delay between each logfiles sync to the disk. Must be a non null
|
|||||||
positive integer.
|
positive integer.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fBreconn_timer\fP (default: \fB120\fP)
|
\fBreconn_timer\fP (default: \fB30\fP)
|
||||||
Defines the initial delay (in seconds) before a reconnection attempt.
|
Defines the initial delay (in seconds) before a reconnection attempt.
|
||||||
The delay increases with the number of attempts:
|
The delay increases with the number of attempts:
|
||||||
delay = reconn_timer * number of attempts
|
delay = reconn_timer * number of attempts
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
# Sets the initial delay (in seconds) before a reconnection attempt.
|
# Sets the initial delay (in seconds) before a reconnection attempt.
|
||||||
# The delay increases with the number of attempts:
|
# The delay increases with the number of attempts:
|
||||||
# delay = reconn_timer * number of attempts
|
# delay = reconn_timer * number of attempts
|
||||||
#reconn_timer = 120;
|
#reconn_timer = 30;
|
||||||
|
|
||||||
# Network definition, a name and server info
|
# Network definition, a name and server info
|
||||||
#network {
|
#network {
|
||||||
|
@ -29,6 +29,6 @@
|
|||||||
#define DEFAULT_LOG_LEVEL LOG_INFO
|
#define DEFAULT_LOG_LEVEL LOG_INFO
|
||||||
#define DEFAULT_LOG_FORMAT "%u/%n/%Y-%m/%c.%d.log"
|
#define DEFAULT_LOG_FORMAT "%u/%n/%Y-%m/%c.%d.log"
|
||||||
#define DEFAULT_BIP_USE_NOTICE 0
|
#define DEFAULT_BIP_USE_NOTICE 0
|
||||||
#define DEFAULT_RECONN_TIMER 120
|
#define DEFAULT_RECONN_TIMER 30
|
||||||
|
|
||||||
#endif /* DEFAULTS_H */
|
#endif /* DEFAULTS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user