From ced5131fc8d440f91f7f8919dbd2270a0481c20f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 22 Feb 2025 22:14:38 -0300 Subject: [PATCH] chore: update client timeout haproxy --- invidious/invidious-all/haproxy.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/invidious/invidious-all/haproxy.cfg b/invidious/invidious-all/haproxy.cfg index 2029ae8..a1d5beb 100644 --- a/invidious/invidious-all/haproxy.cfg +++ b/invidious/invidious-all/haproxy.cfg @@ -25,7 +25,11 @@ defaults retries 4 option redispatch timeout client 30s - timeout connect 10s + # The default timeout of http request on invidious is 10 seconds. + # If this is less than 10 seconds, the reverse proxy may return + # "503 service unavailable", not letting invidious respond to + # the client. + timeout connect 11s timeout server 10s timeout queue 20s # https://www.haproxy.com/documentation/haproxy-configuration-manual/latest/#4.2-http-reuse