diff --git a/src/Cursors.test.ts b/src/Cursors.test.ts index 1f0c8802..383f4ae8 100644 --- a/src/Cursors.test.ts +++ b/src/Cursors.test.ts @@ -116,7 +116,7 @@ describe('Cursors', () => { vi.spyOn(channel.presence, 'get').mockImplementation(createPresenceCount(2)); await cursors['onPresenceUpdate'](); expect(batching.shouldSend).toBeTruthy(); - expect(batching.batchTime).toEqual(25); + expect(batching.batchTime).toEqual(50); }); it('batchTime is updated when multiple people are present', async ({ @@ -126,7 +126,7 @@ describe('Cursors', () => { }) => { vi.spyOn(channel.presence, 'get').mockImplementation(createPresenceCount(2)); await cursors['onPresenceUpdate'](); - expect(batching.batchTime).toEqual(25); + expect(batching.batchTime).toEqual(50); }); describe('pushCursorPosition', () => { diff --git a/src/Space.ts b/src/Space.ts index e3a40fe0..d0d041fb 100644 --- a/src/Space.ts +++ b/src/Space.ts @@ -20,7 +20,7 @@ const SPACE_CHANNEL_TAG = '::$space'; const SPACE_OPTIONS_DEFAULTS = { offlineTimeout: 120_000, cursors: { - outboundBatchInterval: 25, + outboundBatchInterval: 50, paginationLimit: 5, }, };