Merge "Tell geard to use keepalives"

This commit is contained in:
Zuul 2018-04-16 13:33:48 +00:00 committed by Gerrit Code Review
commit 630f777e50
1 changed files with 5 additions and 1 deletions

View File

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