1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 04:50:26 +08:00

Reconnect always

This commit is contained in:
Him188 2020-02-20 11:35:04 +08:00
parent 797dd598b3
commit 3e29fbf34b
2 changed files with 2 additions and 2 deletions
mirai-core/src
androidMain/kotlin/net/mamoe/mirai/utils
jvmMain/kotlin/net/mamoe/mirai/utils

View File

@ -72,7 +72,7 @@ actual open class BotConfiguration actual constructor() {
/**
* 最多尝试多少次重连
*/
actual var reconnectionRetryTimes: Int = 10
actual var reconnectionRetryTimes: Int = Int.MAX_VALUE
/**
* 验证码处理器
*/

View File

@ -225,7 +225,7 @@ actual open class BotConfiguration actual constructor() {
/**
* 最多尝试多少次重连
*/
actual var reconnectionRetryTimes: Int = 10
actual var reconnectionRetryTimes: Int = Int.MAX_VALUE
/**
* 验证码处理器
*/