From 0e883a51723e02e56de8f09cc75fe6eca6720434 Mon Sep 17 00:00:00 2001 From: Andrey Beletsky Date: Tue, 2 Jun 2020 17:42:27 +0700 Subject: [PATCH] Increase http headers timeout --- app/query/caller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/query/caller.go b/app/query/caller.go index 87de44b8..f248147d 100644 --- a/app/query/caller.go +++ b/app/query/caller.go @@ -58,7 +58,7 @@ func NewCaller(endpoint string, userID int) *Caller { KeepAlive: 120 * time.Second, }).Dial, TLSHandshakeTimeout: 30 * time.Second, - ResponseHeaderTimeout: 300 * time.Second, + ResponseHeaderTimeout: 600 * time.Second, ExpectContinueTimeout: 1 * time.Second, }, },