mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-07 02:20:25 +08:00
增加Ln节点向源站的最大连接数
This commit is contained in:
@@ -107,6 +107,10 @@ func (this *HTTPClientPool) Client(req *HTTPRequest,
|
|||||||
maxConnections *= 8
|
maxConnections *= 8
|
||||||
idleConns *= 8
|
idleConns *= 8
|
||||||
idleTimeout *= 4
|
idleTimeout *= 4
|
||||||
|
} else if sharedNodeConfig != nil && sharedNodeConfig.Level > 1 {
|
||||||
|
// Ln节点可以适当增加连接数
|
||||||
|
maxConnections *= 2
|
||||||
|
idleConns *= 2
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLS通讯
|
// TLS通讯
|
||||||
|
|||||||
Reference in New Issue
Block a user