소스 검색

Push once until app-related push issues of #802 are resolved (#816)

Lennart Grahl 6 년 전
부모
커밋
9f93bb2f35
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/services/webclient.ts

+ 4 - 0
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