Jelajahi Sumber

auto update script executed

Toby Chui 1 tahun lalu
induk
melakukan
e8214b1878
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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.DefaultTransport
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConns = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
 	thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
-	thisTransporter.(*http.Transport).MaxConnsPerHost = 30
+	thisTransporter.(*http.Transport).MaxConnsPerHost = 120
 
 
 	return &ReverseProxy{
 	return &ReverseProxy{
 		Director:  director,
 		Director:  director,