1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-01 11:35:23 +00:00

Increase ping time

This commit is contained in:
Shelikhoo 2016-08-15 17:48:30 +08:00
parent de28198234
commit 4853a1a6d3
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

View File

@ -189,7 +189,7 @@ func (ws *wsconn) pingPong() {
ws.wlock.Lock()
ws.wsc.WriteMessage(websocket.PingMessage, nil)
ws.wlock.Unlock()
tick := time.NewTicker(time.Second * 3)
tick := time.NewTicker(time.Second * 30)
select {
case <-pongRcv: