Tell geard to use keepalives
This should start sending keepalives after the connection has been open for 5 minutes, and should detect a failed connection after 5 minutes. Change-Id: I5c30a9ab20551b276d195b83939b3a9b71c2c944
This commit is contained in:
@@ -95,7 +95,11 @@ class Scheduler(zuul.cmd.ZuulDaemonApp):
|
||||
host=host,
|
||||
statsd_host=statsd_host,
|
||||
statsd_port=statsd_port,
|
||||
statsd_prefix=statsd_prefix)
|
||||
statsd_prefix=statsd_prefix,
|
||||
keepalive=True,
|
||||
tcp_keepidle=300,
|
||||
tcp_keepintvl=60,
|
||||
tcp_keepcnt=5)
|
||||
|
||||
# Keep running until the parent dies:
|
||||
pipe_read = os.fdopen(pipe_read)
|
||||
|
||||
Reference in New Issue
Block a user