From ded12bbea48d0c8c44f94872bfc2da16b50641cc Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Tue, 28 Jul 2020 10:49:04 +0200 Subject: [PATCH] Smaller timeouts for HaProxy This is needed to quickly detect the downage from a service. With these timeouts 12 seonds are needed for HaProxy to return an initial 503. All other 503 are instance since the service is not detected up again. --- haproxy/src/haproxy.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/haproxy/src/haproxy.cfg b/haproxy/src/haproxy.cfg index 22d2008da..0e6f98d8c 100644 --- a/haproxy/src/haproxy.cfg +++ b/haproxy/src/haproxy.cfg @@ -3,13 +3,14 @@ global defaults option http-use-htx - timeout connect 10s + timeout connect 3s timeout client 10s timeout client-fin 10s timeout server 10s timeout server-fin 10s - timeout check 10s + timeout check 2s timeout tunnel 10s + timeout queue 2s log global option httplog