fix(sync): Stop waking sync loops when removing to-device events

This commit is contained in:
Erwan Leboucher committed 2026-07-16 22:15:27 +02:00
1 parent 8945cc9e10
commit e2eb980b5e
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -0,0 +1 @@
Fixed high CPU usage when multiple clients from the same account were connected at once. Each sync woke the account's other sync loops, causing them to wake each other in a loop.
-2
View File
@@ -253,8 +253,6 @@ impl super::Service {
self.db.todeviceid_events.del(key);
})
.await;
self.services.sync.wake(user_id).await;
}
/// Updates device metadata and increments the device list version.