mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-30 09:50:12 +08:00
Change default config values
This commit is contained in:
parent
9a436271db
commit
d829060072
mirai-core/src
androidMain/kotlin/net/mamoe/mirai/utils
jvmMain/kotlin/net/mamoe/mirai/utils
@ -68,11 +68,11 @@ actual open class BotConfiguration actual constructor() {
|
||||
/**
|
||||
* 重连失败后, 继续尝试的每次等待时间
|
||||
*/
|
||||
actual var reconnectPeriodMillis: Long = 60.secondsToMillis
|
||||
actual var reconnectPeriodMillis: Long = 5.secondsToMillis
|
||||
/**
|
||||
* 最多尝试多少次重连
|
||||
*/
|
||||
actual var reconnectionRetryTimes: Int = 3
|
||||
actual var reconnectionRetryTimes: Int = 10
|
||||
/**
|
||||
* 验证码处理器
|
||||
*/
|
||||
|
@ -221,11 +221,11 @@ actual open class BotConfiguration actual constructor() {
|
||||
/**
|
||||
* 重连失败后, 继续尝试的每次等待时间
|
||||
*/
|
||||
actual var reconnectPeriodMillis: Long = 60.secondsToMillis
|
||||
actual var reconnectPeriodMillis: Long = 5.secondsToMillis
|
||||
/**
|
||||
* 最多尝试多少次重连
|
||||
*/
|
||||
actual var reconnectionRetryTimes: Int = 3
|
||||
actual var reconnectionRetryTimes: Int = 10
|
||||
/**
|
||||
* 验证码处理器
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user