mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-19 17:39:17 +08:00
Remove bad heartbeat
This commit is contained in:
parent
24d7d49a24
commit
96554f2c95
@ -253,7 +253,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
this@QQAndroidBotNetworkHandler.launch(CoroutineName("Heartbeat")) {
|
||||
while (this.isActive) {
|
||||
delay(bot.configuration.heartbeatPeriodMillis)
|
||||
val failException = doHeartBeat()
|
||||
val failException = null//doHeartBeat()
|
||||
if (failException != null) {
|
||||
delay(bot.configuration.firstReconnectDelayMillis)
|
||||
close()
|
||||
|
Loading…
Reference in New Issue
Block a user