Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
26be3125fb
1 changed files with 1 additions and 1 deletions
  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