feat: Add a config option to change the max TL size for legacy sync

This commit is contained in:
Ginger
2025-10-28 09:15:49 -04:00
parent 31cc888119
commit 1afa8413a2
4 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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?;