CLEANUP: peers: replace timeout constants by macros.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 26 Mar 2019 09:25:20 +0000 (10:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Mar 2019 09:54:06 +0000 (10:54 +0100)
commit54bff83f434689659b793a4dbd84254ede09baad
tree4b2cc32d1f4ad7093097e86e295449fbe07e0359
parentaba44a2abce3d8f3fc279f69e8c509db559714a0
CLEANUP: peers: replace timeout constants by macros.

This adds two macros PEER_RESYNC_TIMEOUT and PEER_RECONNECT_TIMEOUT
both set to 5 seconds in order to remove magic timeouts which appear
in the code.
src/peers.c