summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
index 296bc72e..3267773f 100644
--- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
+++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
@@ -30,7 +30,7 @@ class SevenWondersClient {
private val stompClient = StompClient {
heartBeat = HeartBeat(10000, 10000)
- heartBeatTolerance = HeartBeatTolerance(0, 5000)
+ heartBeatTolerance = HeartBeatTolerance(0, 10000) // wide margin to account for heroku cold start
}
suspend fun connect(serverUrl: String): SevenWondersSession {
bgstack15