Attempt at further fixing connection handling

parent c5341e00
Pipeline #490 failed with stages
in 36 minutes and 36 seconds
......@@ -134,7 +134,9 @@ class SessionManager(
}
val connectionState = state.or(ConnectionState.DISCONNECTED)
if (connectionState != ConnectionState.DISCONNECTED && !ignoreConnectionState) {
if (connectionState != ConnectionState.DISCONNECTED &&
connectionState != ConnectionState.CLOSED &&
!ignoreConnectionState) {
log(INFO, "SessionManager", "Reconnect failed: connection state is $connectionState")
return false
}
......
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