mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-03 19:51:13 -05:00
#10969 was merged after 1.46.0rc1 was cut and will be included in v1.47.0rc1 instead.
This commit is contained in:
parent
ad4eab9862
commit
bfd7a9b65c
1
changelog.d/11212.bugfix
Normal file
1
changelog.d/11212.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix a long-standing bug where messages in the `device_inbox` table for deleted devices would persist indefinitely. Contributed by @dklimpel and @JohannesKleine.
|
@ -594,7 +594,7 @@ class DeviceInboxBackgroundUpdateStore(SQLBaseStore):
|
||||
) -> int:
|
||||
"""A background update that deletes all device_inboxes for deleted devices.
|
||||
|
||||
This should only need to be run once (when users upgrade to v1.46.0)
|
||||
This should only need to be run once (when users upgrade to v1.47.0)
|
||||
|
||||
Args:
|
||||
progress: JsonDict used to store progress of this background update
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
-- Remove messages from the device_inbox table which were orphaned
|
||||
-- when a device was deleted using Synapse earlier than 1.46.0.
|
||||
-- when a device was deleted using Synapse earlier than 1.47.0.
|
||||
-- This runs as background task, but may take a bit to finish.
|
||||
|
||||
INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
|
||||
|
Loading…
Reference in New Issue
Block a user