Commit 3e29fbf3 authored by Him188's avatar Him188

Reconnect always

parent 797dd598
...@@ -72,7 +72,7 @@ actual open class BotConfiguration actual constructor() { ...@@ -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() { ...@@ -225,7 +225,7 @@ actual open class BotConfiguration actual constructor() {
/** /**
* 最多尝试多少次重连 * 最多尝试多少次重连
*/ */
actual var reconnectionRetryTimes: Int = 10 actual var reconnectionRetryTimes: Int = Int.MAX_VALUE
/** /**
* 验证码处理器 * 验证码处理器
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment