mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
watchfrr: increase restart timer 20s -> 90s
This commit: "tools: run `vtysh -b` once for all-startup" changed things so that `vtysh -b` is run after all daemons have started up instead of doing it for each daemon as they are started up. This results in one long `vtysh -b`, which for large configs and many daemons (in the case I saw, 4 daemons and 30,000 line config) can exceed the 20 second timer watchfrr uses to kill "hung" background tasks. Shouldn't be any harm to increasing this to 90 seconds to give us some leeway while still making sure we kill anything truly misbehaving. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
parent
a72d1a1124
commit
5fba3c4d74
|
@ -44,7 +44,7 @@
|
|||
|
||||
#define DEFAULT_PERIOD 5
|
||||
#define DEFAULT_TIMEOUT 90
|
||||
#define DEFAULT_RESTART_TIMEOUT 20
|
||||
#define DEFAULT_RESTART_TIMEOUT 90
|
||||
#define DEFAULT_LOGLEVEL LOG_INFO
|
||||
#define DEFAULT_MIN_RESTART 60
|
||||
#define DEFAULT_MAX_RESTART 600
|
||||
|
|
Loading…
Reference in a new issue