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 7de287f commit b2ac1a7Copy full SHA for b2ac1a7
packages/common/src/client/sync/stream/AbstractRemote.ts
@@ -21,13 +21,13 @@ export type RemoteConnector = {
21
22
// Refresh at least 30 sec before it expires
23
const REFRESH_CREDENTIALS_SAFETY_PERIOD_MS = 30_000;
24
-const SYNC_QUEUE_REQUEST_N = 10;
+const SYNC_QUEUE_REQUEST_N = 1;
25
const SYNC_QUEUE_REQUEST_LOW_WATER = 5;
26
27
// Keep alive message is sent every period
28
-const KEEP_ALIVE_MS = 20_000;
+const KEEP_ALIVE_MS = 60_000;
29
// The ACK must be received in this period
30
-const KEEP_ALIVE_LIFETIME_MS = 30_000;
+const KEEP_ALIVE_LIFETIME_MS = 90_000;
31
32
export const DEFAULT_REMOTE_LOGGER = Logger.get('PowerSyncRemote');
33
0 commit comments