Skip to content

Commit 67baf71

Browse files
ostap0207dsrees
authored andcommitted
Fix max reconnectAfterMs (#41)
Fixes: #40
1 parent 553785c commit 67baf71

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
@@ -46,7 +46,7 @@ open class PhxSocket(
4646

4747
/** Interval between socket reconnect attempts */
4848
var reconnectAfterMs: ((tries: Int) -> Long) = closure@{
49-
return@closure if (it >= 3) 100000 else longArrayOf(1000, 2000, 5000)[it]
49+
return@closure if (it >= 3) 10000 else longArrayOf(1000, 2000, 5000)[it]
5050
}
5151

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

0 commit comments

Comments
 (0)