Parcourir la source

auto update script executed

Toby Chui il y a 1 an
Parent
commit
26be3125fb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

+ 1 - 1
mod/dynamicproxy/dpcore/dpcore.go

@@ -93,7 +93,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string, ignoreTLSVerificatio
 	thisTransporter := http.DefaultTransport
 	thisTransporter.(*http.Transport).MaxIdleConns = 0
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 10
-	thisTransporter.(*http.Transport).IdleConnTimeout = 10 * time.Second
+	thisTransporter.(*http.Transport).IdleConnTimeout = 60 * time.Second
 	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
 	thisTransporter.(*http.Transport).DisableCompression = true