feat: Add a config option to change the max TL size for legacy sync
This commit is contained in:
parent
213a361c53
commit
a4f2b55a8a
4 changed files with 21 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ pub(super) async fn load_joined_room(
|
|||
room_id,
|
||||
previous_sync_end_count,
|
||||
Some(next_batchcount),
|
||||
10_usize,
|
||||
services.config.incremental_sync_max_timeline_size,
|
||||
);
|
||||
|
||||
let receipt_events = services
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ pub(super) async fn load_left_room(
|
|||
room_id,
|
||||
Some(timeline_start_count),
|
||||
Some(timeline_end_count),
|
||||
10_usize,
|
||||
services.config.incremental_sync_max_timeline_size,
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue