summaryrefslogtreecommitdiffstats
path: root/watchfrr
diff options
context:
space:
mode:
authorBrian Rak <brianrak@gameservers.com>2017-11-15 20:51:37 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-04 15:55:39 +0100
commit0a64aff60c6fb84abf44fcd323f9f9acefce2d01 (patch)
tree1c3a03e86c7e1f7e642252ab6324f048f7952de5 /watchfrr
parentMerge pull request #1500 from opensourcerouting/ldpd-fixes (diff)
downloadfrr-0a64aff60c6fb84abf44fcd323f9f9acefce2d01.tar.xz
frr-0a64aff60c6fb84abf44fcd323f9f9acefce2d01.zip
tools, watchfrr: Modify timeout to 90 seconds
The default timeout of 10 seconds is too quick of a timeout given some long running cli commands. Modify watchfrr to have a 90s timeout value instead. Signed-off-by: Brian Rak <brianrak@gameservers.com>
Diffstat (limited to 'watchfrr')
-rw-r--r--watchfrr/watchfrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watchfrr/watchfrr.c b/watchfrr/watchfrr.c
index c9f721eac..33106bdf1 100644
--- a/watchfrr/watchfrr.c
+++ b/watchfrr/watchfrr.c
@@ -45,7 +45,7 @@
#define FUZZY(X) ((X)+JITTER((X)/20))
#define DEFAULT_PERIOD 5
-#define DEFAULT_TIMEOUT 10
+#define DEFAULT_TIMEOUT 90
#define DEFAULT_RESTART_TIMEOUT 20
#define DEFAULT_LOGLEVEL LOG_INFO
#define DEFAULT_MIN_RESTART 60