We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465c8f4 commit a893d5eCopy full SHA for a893d5e
src/main/kotlin/org/phoenixframework/PhxSocket.kt
@@ -39,7 +39,7 @@ open class PhxSocket(
39
40
/** Interval between socket reconnect attempts */
41
public var reconnectAfterMs: ((tries: Int) -> Long) = closure@{
42
- return@closure if (it > 3) 100000 else longArrayOf(1000, 2000, 5000)[it]
+ return@closure if (it >= 3) 100000 else longArrayOf(1000, 2000, 5000)[it]
43
}
44
45
/** Hook for custom logging into the client */
0 commit comments