mirror of https://github.com/v2ray/v2ray-core
Increase ping time
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