mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-10 20:50:25 +08:00
反向代理去除默认跟源站的连接数限制
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user