mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-07-17 00:11:55 +00:00
fix(sync): Stop waking sync loops when removing to-device events
This commit is contained in:
@@ -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.
|
||||
@@ -253,8 +253,6 @@ pub async fn remove_to_device_events<Until>(
|
||||
self.db.todeviceid_events.del(key);
|
||||
})
|
||||
.await;
|
||||
|
||||
self.services.sync.wake(user_id).await;
|
||||
}
|
||||
|
||||
/// Updates device metadata and increments the device list version.
|
||||
|
||||
Reference in New Issue
Block a user