Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/kotlin/org/phoenixframework/PhxSocket.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ open class PhxSocket(

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

/** Hook for custom logging into the client */
Expand Down