Преглед изворни кода

auto update script executed

Toby Chui пре 1 година
родитељ
комит
1e3d110ff2
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 	thisTransporter := http.DefaultTransport
-	thisTransporter.(*http.Transport).MaxIdleConns = 5000
+	thisTransporter.(*http.Transport).MaxIdleConns = 10000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 5000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
 	thisTransporter.(*http.Transport).MaxConnsPerHost = 0