From 0033f831fc2deca314f0b225eb471ea4c33f51d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 3 May 2023 12:28:38 +0000 Subject: [PATCH] fix(editor): Faster reconnects for push (no-changelog) (#6164) --- packages/editor-ui/src/mixins/pushConnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/mixins/pushConnection.ts b/packages/editor-ui/src/mixins/pushConnection.ts index 6759174e3..3c33586b5 100644 --- a/packages/editor-ui/src/mixins/pushConnection.ts +++ b/packages/editor-ui/src/mixins/pushConnection.ts @@ -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 ); },