mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-01 02:46:52 +00:00
add custom client disconnect timeout option, close #485
This commit is contained in:
@@ -243,3 +243,8 @@ LevelInformational->6 LevelDebug->7
|
||||
可在服务端与客户端配置中开启pprof端口,用于性能分析与调试,注释或留空相应参数为关闭。
|
||||
|
||||
默认为关闭状态
|
||||
|
||||
## 自定义客户端超时检测断开时间
|
||||
|
||||
客户端与服务端间会间隔5s相互发送延迟测量包,这个时间间隔不可修改。
|
||||
可修改延迟测量包丢包的次数,默认为60也就是5分钟都收不到一个延迟测量回包,则会断开客户端连接。
|
||||
|
Reference in New Issue
Block a user