change max interval of ws reconnect to 1 minute (#142)
This commit is contained in:
@@ -90,7 +90,7 @@ open class WsConnectionImpl(
|
|||||||
|
|
||||||
private var reconnectBackoff: BackOff = ExponentialBackOff().also {
|
private var reconnectBackoff: BackOff = ExponentialBackOff().also {
|
||||||
it.initialInterval = Duration.ofMillis(100).toMillis()
|
it.initialInterval = Duration.ofMillis(100).toMillis()
|
||||||
it.maxInterval = Duration.ofMinutes(5).toMillis()
|
it.maxInterval = Duration.ofMinutes(1).toMillis()
|
||||||
}
|
}
|
||||||
private var currentBackOff = reconnectBackoff.start()
|
private var currentBackOff = reconnectBackoff.start()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user