mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -05:00
Increase ping time
This commit is contained in:
parent
de28198234
commit
4853a1a6d3
@ -189,7 +189,7 @@ func (ws *wsconn) pingPong() {
|
|||||||
ws.wlock.Lock()
|
ws.wlock.Lock()
|
||||||
ws.wsc.WriteMessage(websocket.PingMessage, nil)
|
ws.wsc.WriteMessage(websocket.PingMessage, nil)
|
||||||
ws.wlock.Unlock()
|
ws.wlock.Unlock()
|
||||||
tick := time.NewTicker(time.Second * 3)
|
tick := time.NewTicker(time.Second * 30)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-pongRcv:
|
case <-pongRcv:
|
||||||
|
Loading…
Reference in New Issue
Block a user