Ver código fonte

auto update script executed

Toby Chui 2 anos atrás
pai
commit
e8214b1878
1 arquivos alterados com 1 adições e 1 exclusões
  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) *ReverseProxy {
 	thisTransporter := http.DefaultTransport
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 30
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 120
 
 	return &ReverseProxy{
 		Director:  director,