mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
Reconnect always
This commit is contained in:
parent
797dd598b3
commit
3e29fbf34b
mirai-core/src
androidMain/kotlin/net/mamoe/mirai/utils
jvmMain/kotlin/net/mamoe/mirai/utils
@ -72,7 +72,7 @@ actual open class BotConfiguration actual constructor() {
|
||||
/**
|
||||
* 最多尝试多少次重连
|
||||
*/
|
||||
actual var reconnectionRetryTimes: Int = 10
|
||||
actual var reconnectionRetryTimes: Int = Int.MAX_VALUE
|
||||
/**
|
||||
* 验证码处理器
|
||||
*/
|
||||
|
@ -225,7 +225,7 @@ actual open class BotConfiguration actual constructor() {
|
||||
/**
|
||||
* 最多尝试多少次重连
|
||||
*/
|
||||
actual var reconnectionRetryTimes: Int = 10
|
||||
actual var reconnectionRetryTimes: Int = Int.MAX_VALUE
|
||||
/**
|
||||
* 验证码处理器
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user