Window sync ranges below any partially completed writes.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-25 18:21:03 +00:00
parent 992abfab8f
commit e09a2c0e0f
2 changed files with 8 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ pub(crate) async fn sync_events_v5_route(
// Setup watchers, so if there's no response, we can wait for them
let watcher = services.sync.watch(sender_user, sender_device);
let next_batch = services.globals.next_count();
let next_batch = services.globals.current_count();
// Get sticky parameters from cache
let mut cached = body.body.clone();