From 2047ebe377de9cd902b5964d53b7fcbd31905a98 Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Fri, 14 Dec 2018 11:31:23 -0600 Subject: [PATCH] revert client Timeout addition suspect that this is somehow causing "cannot assign requested address" bugs for some users. removing since it wasn't a necessary part of the deadlock fix, but just seemed like a prudent thing to have. --- http/handler.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/http/handler.go b/http/handler.go index 736a4b102..68719fdfe 100644 --- a/http/handler.go +++ b/http/handler.go @@ -1504,15 +1504,7 @@ func GetHTTPClient(t *tls.Config) *http.Client { if t != nil { transport.TLSClientConfig = t } - return &http.Client{ - Transport: transport, - // Internal queries will time out after 2h 7m by default. This is - // reduced from the old default of no timeout, so it was thought we - // should keep it fairly high, but it could probably be reduced in most - // cases. It is set to an odd number in the hopes that it will be - // recognizable in stats/traces/logs when this limit is being hit. - Timeout: 127 * time.Minute, - } + return &http.Client{Transport: transport} } // handlPostRoaringImport