mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-08 13:06:05 +08:00
heartbeat failed message.
This commit is contained in:
parent
d36eb9abe7
commit
9012263efe
@ -1134,7 +1134,7 @@ func (c *QQClient) doHeartbeat() {
|
|||||||
time.AfterFunc(30*time.Second, c.doHeartbeat)
|
time.AfterFunc(30*time.Second, c.doHeartbeat)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.lastLostMsg = "Heartbeat failed"
|
c.lastLostMsg = "Heartbeat failed: " + err.Error()
|
||||||
c.Disconnect()
|
c.Disconnect()
|
||||||
}
|
}
|
||||||
c.heartbeatEnabled = false
|
c.heartbeatEnabled = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user