Skip to content

Commit b2ac1a7

Browse files
test: make queue size less
1 parent 7de287f commit b2ac1a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/common/src/client/sync/stream/AbstractRemote.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export type RemoteConnector = {
2121

2222
// Refresh at least 30 sec before it expires
2323
const REFRESH_CREDENTIALS_SAFETY_PERIOD_MS = 30_000;
24-
const SYNC_QUEUE_REQUEST_N = 10;
24+
const SYNC_QUEUE_REQUEST_N = 1;
2525
const SYNC_QUEUE_REQUEST_LOW_WATER = 5;
2626

2727
// Keep alive message is sent every period
28-
const KEEP_ALIVE_MS = 20_000;
28+
const KEEP_ALIVE_MS = 60_000;
2929
// The ACK must be received in this period
30-
const KEEP_ALIVE_LIFETIME_MS = 30_000;
30+
const KEEP_ALIVE_LIFETIME_MS = 90_000;
3131

3232
export const DEFAULT_REMOTE_LOGGER = Logger.get('PowerSyncRemote');
3333

0 commit comments

Comments
 (0)