From 60eb517839b8df227f0409ce5e6ce2c4ff6714e6 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 9 Apr 2021 14:20:14 +0530 Subject: [PATCH] Reduce keep-alive to 30 seconds. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1b02b6b..d406ea7 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,7 @@ var h2client = &http.Client{ TLSHandshakeTimeout: 10 * time.Second, ResponseHeaderTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, - IdleConnTimeout: 120 * time.Second, + IdleConnTimeout: 30 * time.Second, }, }