From d4ca403524eb85db2f8ff0d3e0834ea76b27638e Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Tue, 3 Mar 2026 11:20:43 +0100 Subject: [PATCH] Increase IdleConnTimeout from 120ms to 5s Whilst not as important in the CLI due to its short-lived nature, this is being updated across components for consistency. Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- commands/general.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general.go b/commands/general.go index c8cbb54e9..862a54702 100644 --- a/commands/general.go +++ b/commands/general.go @@ -29,7 +29,7 @@ func GetDefaultCLITransport(tlsInsecure bool, timeout *time.Duration) *http.Tran Timeout: *timeout, }).DialContext - tr.IdleConnTimeout = 120 * time.Millisecond + tr.IdleConnTimeout = 5 * time.Second tr.ExpectContinueTimeout = 1500 * time.Millisecond }