We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39e873 commit 47cba2dCopy full SHA for 47cba2d
src/browser/sync/web_socket_manager.ts
@@ -95,7 +95,7 @@ export type OnMessageResponse = {
95
96
const serverDisconnectErrors = {
97
// A known error, e.g. during a restart or push
98
- InternalServerError: { timeout: 100 },
+ InternalServerError: { timeout: 1000 },
99
// ErrorMetadata::overloaded() messages that we realy should back off
100
SubscriptionsWorkerFullError: { timeout: 3000 },
101
TooManyConcurrentRequests: { timeout: 3000 },
@@ -184,7 +184,7 @@ export class WebSocketManager {
184
this.lastCloseReason = "InitialConnect";
185
186
// backoff for unknown errors
187
- this.defaultInitialBackoff = 100;
+ this.defaultInitialBackoff = 1000;
188
this.maxBackoff = 16000;
189
this.retries = 0;
190
0 commit comments