Skip to content

Commit 5fba3c4

Browse files
qlyoungdonaldsharp
authored andcommitted
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 <[email protected]>
1 parent a72d1a1 commit 5fba3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watchfrr/watchfrr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
#define DEFAULT_PERIOD 5
4646
#define DEFAULT_TIMEOUT 90
47-
#define DEFAULT_RESTART_TIMEOUT 20
47+
#define DEFAULT_RESTART_TIMEOUT 90
4848
#define DEFAULT_LOGLEVEL LOG_INFO
4949
#define DEFAULT_MIN_RESTART 60
5050
#define DEFAULT_MAX_RESTART 600

0 commit comments

Comments
 (0)