From 25b0b98bd40d89c5661ff0983b12fba6b85f5339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Fri, 2 Dec 2022 10:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=BB=98=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E6=BA=90=E7=AB=99=E8=BF=9E=E6=8E=A5=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_client_pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/nodes/http_client_pool.go b/internal/nodes/http_client_pool.go index 16ef378..f6306f0 100644 --- a/internal/nodes/http_client_pool.go +++ b/internal/nodes/http_client_pool.go @@ -95,11 +95,11 @@ func (this *HTTPClientPool) Client(req *HTTPRequest, numberCPU = 8 } if maxConnections <= 0 { - maxConnections = numberCPU * 32 + maxConnections = numberCPU * 64 } if idleConns <= 0 { - idleConns = numberCPU * 8 + idleConns = numberCPU * 16 } // 可以判断为Ln节点请求