move sync watcher from globals service to sync service
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
26c890d5ac
commit
3ed2c17f98
6 changed files with 170 additions and 148 deletions
|
@ -93,7 +93,7 @@ pub(crate) async fn sync_events_route(
|
|||
}
|
||||
|
||||
// Setup watchers, so if there's no response, we can wait for them
|
||||
let watcher = services.globals.watch(&sender_user, &sender_device);
|
||||
let watcher = services.sync.watch(&sender_user, &sender_device);
|
||||
|
||||
let next_batch = services.globals.current_count()?;
|
||||
let next_batchcount = PduCount::Normal(next_batch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue