mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 03:26:21 -04:00
Make deleting stale pushers a background update (#9536)
This commit is contained in:
parent
a5daae2a5f
commit
16f9f93eb7
3 changed files with 55 additions and 1 deletions
|
@ -16,4 +16,5 @@
|
|||
|
||||
-- Delete all pushers associated with deleted devices. This is to clear up after
|
||||
-- a bug where they weren't correctly deleted when using workers.
|
||||
DELETE FROM pushers WHERE access_token NOT IN (SELECT id FROM access_tokens);
|
||||
INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
|
||||
(5908, 'remove_stale_pushers', '{}');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue