1
This commit is contained in:
@@ -92,6 +92,7 @@ func PingTimer() {
|
||||
}
|
||||
globals.SugarLogger.Debugf("PingTimer jx clientID ")
|
||||
} else {
|
||||
fmt.Printf("PingTimer mt心跳,conn%s,%s", conn.ClientId, conn.ClientType)
|
||||
if err := conn.Socket.WriteMessage(websocket.TextMessage, []byte(HeartCheckMsg)); err != nil {
|
||||
fmt.Printf("PingTimer mtHeartBeat err:%v", err)
|
||||
//对美团重新建立连接
|
||||
|
||||
Reference in New Issue
Block a user