增加Ln节点向源站的最大连接数

This commit is contained in:
GoEdgeLab
2022-08-08 08:12:49 +08:00
parent 381023d2e4
commit 4b44537ce6

View File

@@ -107,6 +107,10 @@ func (this *HTTPClientPool) Client(req *HTTPRequest,
maxConnections *= 8
idleConns *= 8
idleTimeout *= 4
} else if sharedNodeConfig != nil && sharedNodeConfig.Level > 1 {
// Ln节点可以适当增加连接数
maxConnections *= 2
idleConns *= 2
}
// TLS通讯