diff --git a/core/src/main/golang/config/fetch.go b/core/src/main/golang/config/fetch.go index 941b39b0..281df3db 100644 --- a/core/src/main/golang/config/fetch.go +++ b/core/src/main/golang/config/fetch.go @@ -25,13 +25,12 @@ type Status struct { var client = &http.Client{ Transport: &http.Transport{ - // from http.DefaultTransport - MaxIdleConns: 100, - IdleConnTimeout: 90 * time.Second, + DisableKeepAlives: true, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, DialContext: dialer.DefaultTunnelDialer, }, + Timeout: 60 * time.Second, } func openUrl(url string) (io.ReadCloser, error) {