Increase ping time

pull/238/head
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
1 changed files with 1 additions and 1 deletions

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: