Remove bad heartbeat

This commit is contained in:
Him188 2020-02-08 16:59:24 +08:00
parent 24d7d49a24
commit 96554f2c95

View File

@ -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()