From 9f93bb2f35f1f66b501ef79dd56880c88064aa5a Mon Sep 17 00:00:00 2001 From: Lennart Grahl Date: Thu, 13 Jun 2019 11:16:03 +0200 Subject: [PATCH] Push once until app-related push issues of #802 are resolved (#816) --- src/services/webclient.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/webclient.ts b/src/services/webclient.ts index b50aaf179..351c0e72b 100644 --- a/src/services/webclient.ts +++ b/src/services/webclient.ts @@ -326,6 +326,10 @@ export class WebClientService { // Push session configuration this.pushSessionConfig = PushSession.defaultConfig; this.pushSessionConfig.triesMax = WebClientService.MAX_CONNECT_ATTEMPTS; + // TODO: Remove below config overwrite lines once the app-related push issues have been resolved in #802 + this.pushSessionConfig = { + retryTimeoutInitMs: 14000, retryTimeoutMaxMs: 30000, triesMax: 1, timeToLiveRange: [90], + }; this.pushSessionExpectedPeriodMaxMs = PushSession.expectedPeriodMaxMs(this.pushSessionConfig); // Other properties