Skip to content

Commit a893d5e

Browse files
dpreusslerdsrees
authored andcommitted
fixes #11 (#11)
1 parent 465c8f4 commit a893d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/phoenixframework/PhxSocket.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ open class PhxSocket(
3939

4040
/** Interval between socket reconnect attempts */
4141
public var reconnectAfterMs: ((tries: Int) -> Long) = closure@{
42-
return@closure if (it > 3) 100000 else longArrayOf(1000, 2000, 5000)[it]
42+
return@closure if (it >= 3) 100000 else longArrayOf(1000, 2000, 5000)[it]
4343
}
4444

4545
/** Hook for custom logging into the client */

0 commit comments

Comments
 (0)