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>
This commit is contained in:
Brian Rak 2017-11-15 14:51:37 -05:00 committed by Donald Sharp
parent 0e21e01c4f
commit 0a64aff60c
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ sharpd_options=" --daemon -A 127.0.0.1"
# The list of daemons to watch is automatically generated by the init script.
watchfrr_enable=yes
watchfrr_options=(-d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB -t 30)
watchfrr_options=(-d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB)
# If valgrind_enable is 'yes' the frr daemons will be started via valgrind.
# The use case for doing so is tracking down memory leaks, etc in frr.

View File

@ -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