Add zmq_reconnect_ivl options for fedmsg.

This should reduce CPU load on some of our machines, like pkgs01.
This commit is contained in:
Ralph Bean 2015-01-07 16:06:14 +00:00
parent 2e21cc6c3f
commit 101c8d2481

View file

@ -63,6 +63,12 @@ config = dict(
zmq_tcp_keepalive_cnt=3,
zmq_tcp_keepalive_idle=60,
zmq_tcp_keepalive_intvl=5,
# See the following
# - https://github.com/fedora-infra/fedmsg/issues/305
# - http://api.zeromq.org/3-2:zmq-setsockopt
zmq_reconnect_ivl=100,
zmq_reconnect_ivl_max=1000,
)
# This option adds an IPC socket by which we can monitor hub health.