Prechádzať zdrojové kódy

auto update script executed

Toby Chui 1 rok pred
rodič
commit
de44b31bd5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

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

@@ -94,7 +94,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string) *ReverseProxy {
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
 	thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 120
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
 	thisTransporter.(*http.Transport).DisableCompression = true
 	thisTransporter.(*http.Transport).DisableCompression = true
 
 
 	return &ReverseProxy{
 	return &ReverseProxy{