Skip to content

Commit

Permalink
fix(editor): Faster reconnects for push (no-changelog) (#6164)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored May 3, 2023
1 parent 97578c7 commit 0033f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/mixins/pushConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const pushConnection = mixins(
this.connectRetries++;
this.reconnectTimeout = setTimeout(
this.attemptReconnect,
Math.min(this.connectRetries * 3000, 30000), // maximum 30 seconds backoff
Math.min(this.connectRetries * 2000, 8000), // maximum 8 seconds backoff
);
},

Expand Down

0 comments on commit 0033f83

Please sign in to comment.