Pārlūkot izejas kodu

auto update script executed

Toby Chui 1 gadu atpakaļ
vecāks
revīzija
ea8c00003f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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, ignoreTLSVerificatio
 	thisTransporter.(*http.Transport).MaxIdleConns = 5000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 5000
 	thisTransporter.(*http.Transport).IdleConnTimeout = 60 * time.Second
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 0
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 100
 	thisTransporter.(*http.Transport).DisableCompression = true
 
 	if ignoreTLSVerification {