File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ describe('Cursors', () => {
116
116
vi . spyOn ( channel . presence , 'get' ) . mockImplementation ( createPresenceCount ( 2 ) ) ;
117
117
await cursors [ 'onPresenceUpdate' ] ( ) ;
118
118
expect ( batching . shouldSend ) . toBeTruthy ( ) ;
119
- expect ( batching . batchTime ) . toEqual ( 25 ) ;
119
+ expect ( batching . batchTime ) . toEqual ( 50 ) ;
120
120
} ) ;
121
121
122
122
it < CursorsTestContext > ( 'batchTime is updated when multiple people are present' , async ( {
@@ -126,7 +126,7 @@ describe('Cursors', () => {
126
126
} ) => {
127
127
vi . spyOn ( channel . presence , 'get' ) . mockImplementation ( createPresenceCount ( 2 ) ) ;
128
128
await cursors [ 'onPresenceUpdate' ] ( ) ;
129
- expect ( batching . batchTime ) . toEqual ( 25 ) ;
129
+ expect ( batching . batchTime ) . toEqual ( 50 ) ;
130
130
} ) ;
131
131
132
132
describe ( 'pushCursorPosition' , ( ) => {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const SPACE_CHANNEL_TAG = '::$space';
20
20
const SPACE_OPTIONS_DEFAULTS = {
21
21
offlineTimeout : 120_000 ,
22
22
cursors : {
23
- outboundBatchInterval : 25 ,
23
+ outboundBatchInterval : 50 ,
24
24
paginationLimit : 5 ,
25
25
} ,
26
26
} ;
You can’t perform that action at this time.
0 commit comments