Cleanup/optimize sliding sync types and arguments.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-08 03:33:08 +00:00
1 parent b1ea7b101d
commit 6c724bbc2f
10 files changed
+436 -392

No files matched your search

+3 -1
View File
@@ -8,7 +8,9 @@ use super::SyncInfo;
#[tracing::instrument(level = "trace", skip_all, fields(globalsince, next_batch))]
pub(super) async fn collect(
services: &Services,
(sender_user, sender_device, globalsince, _request): SyncInfo<'_>,
SyncInfo {
sender_user, sender_device, globalsince, ..
}: SyncInfo<'_>,
next_batch: u64,
) -> Result<Option<response::ToDevice>> {
services