mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Faster reconnects for push (no-changelog) (#6164)
This commit is contained in:
committed by
GitHub
parent
97578c7505
commit
0033f831fc
@@ -123,7 +123,7 @@ export const pushConnection = mixins(
|
|||||||
this.connectRetries++;
|
this.connectRetries++;
|
||||||
this.reconnectTimeout = setTimeout(
|
this.reconnectTimeout = setTimeout(
|
||||||
this.attemptReconnect,
|
this.attemptReconnect,
|
||||||
Math.min(this.connectRetries * 3000, 30000), // maximum 30 seconds backoff
|
Math.min(this.connectRetries * 2000, 8000), // maximum 8 seconds backoff
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user