mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-05 06:10:25 +08:00
增加常量
This commit is contained in:
@@ -9,6 +9,7 @@ const (
|
|||||||
DefaultMaxThreadsMin = 1000 // 单节点最大线程数最小值
|
DefaultMaxThreadsMin = 1000 // 单节点最大线程数最小值
|
||||||
DefaultMaxThreadsMax = 100_000 // 单节点最大线程数最大值
|
DefaultMaxThreadsMax = 100_000 // 单节点最大线程数最大值
|
||||||
|
|
||||||
DefaultTCPMaxConnections = 100_000 // 单节点TCP最大连接数
|
DefaultTCPMaxConnections = 100_000 // 单节点TCP最大连接数
|
||||||
DefaultTCPLinger = 3 // 单节点TCP Linger值
|
DefaultTCPLinger = 3 // 单节点TCP Linger值
|
||||||
|
DefaultTLSHandshakeTimeout = 3 // TLS握手超时时间
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user