Skip to content

Commit

Permalink
Push once until app-related push issues of #802 are resolved (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrahl authored Jun 13, 2019
1 parent 014a05a commit 9f93bb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/webclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f93bb2

Please sign in to comment.