fix(editor): Faster reconnects for push (no-changelog) (#6164)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-05-03 12:28:38 +00:00 committed by GitHub
parent 97578c7505
commit 0033f831fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);
},