From 09fa3f513cbff360441529e6a832fd8f1c52ee1c Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Fri, 5 Jul 2024 11:53:11 -0400 Subject: [PATCH] updated haproxy defaults https://www.papertrail.com/solution/tips/haproxy-logging-how-to-tune-timeouts-for-performance/ --- systems/jeeves/docker/haproxy.cfg | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/systems/jeeves/docker/haproxy.cfg b/systems/jeeves/docker/haproxy.cfg index d39dec3..796b20d 100644 --- a/systems/jeeves/docker/haproxy.cfg +++ b/systems/jeeves/docker/haproxy.cfg @@ -6,10 +6,17 @@ global defaults log global mode http - timeout client 10s + retries 3 + maxconn 2000 timeout connect 5s - timeout server 10s + timeout client 50s + timeout server 50s timeout http-request 10s + timeout http-keep-alive 2s + timeout queue 5s + timeout tunnel 2m + timeout client-fin 1s + timeout server-fin 1s #Application Setup