From ce9541ef8bf18ef3367a7aa175cc9a4bc645cb0b Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 1 Oct 2021 11:17:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E5=90=91=E4=BB=A3=E7=90=86=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E9=BB=98=E8=AE=A4=E8=B7=9F=E6=BA=90=E7=AB=99=E7=9A=84?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_client_pool.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/nodes/http_client_pool.go b/internal/nodes/http_client_pool.go index 3222262..48d2a9e 100644 --- a/internal/nodes/http_client_pool.go +++ b/internal/nodes/http_client_pool.go @@ -72,9 +72,6 @@ func (this *HTTPClientPool) Client(req *http.Request, origin *serverconfigs.Orig if numberCPU < 8 { numberCPU = 8 } - if maxConnections <= 0 { - maxConnections = numberCPU * 8 - } if idleConns <= 0 { idleConns = numberCPU * 4