diff --git a/main.go b/main.go index c739c28d..6a0d784e 100644 --- a/main.go +++ b/main.go @@ -336,6 +336,8 @@ func main() { var transport http.RoundTripper = &http.Transport{ TLSClientConfig: tlsCfg, Proxy: http.ProxyFromEnvironment, + IdleConnTimeout: 30 * time.Second, + MaxIdleConns: 100, } // inject authentication based on auth_module type