From 5b9f7e0dd69966782a7b0c212ef5897ab4613605 Mon Sep 17 00:00:00 2001 From: dekm Date: Thu, 7 Dec 2023 09:21:56 +0100 Subject: [PATCH] use default client instead of pooled and lower the connections to 5 per host --- common/httpclient/http_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/httpclient/http_client.go b/common/httpclient/http_client.go index 0fb233f..c4cb2f3 100644 --- a/common/httpclient/http_client.go +++ b/common/httpclient/http_client.go @@ -21,5 +21,5 @@ func init() { transport.MaxIdleConnsPerHost = 5 // Set a limit for idle connections per host // Setting a timeout for the client - Client.Timeout = 15 * time.Second + Client.Timeout = 5 * time.Second }