Răsfoiți Sursa

auto update script executed

Toby Chui 1 an în urmă
părinte
comite
1e3d110ff2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

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

@@ -91,7 +91,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string, ignoreTLSVerificatio
 
 
 	//Hack the default transporter to handle more connections
 	//Hack the default transporter to handle more connections
 	thisTransporter := http.DefaultTransport
 	thisTransporter := http.DefaultTransport
-	thisTransporter.(*http.Transport).MaxIdleConns = 5000
+	thisTransporter.(*http.Transport).MaxIdleConns = 10000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 5000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 5000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
 	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
 	thisTransporter.(*http.Transport).MaxConnsPerHost = 0