diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2023-09-15 15:37:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 15:37:44 +0200 |
commit | dd44ee00b6cf4d900e56857039320660400cff37 (patch) | |
tree | 6eca4fb08c6b4133b8617a371d582c8b80381bc4 /synapse/app/generic_worker.py | |
parent | Convert `_insert_graph_receipts_txn` to `simple_upsert` (#16299) (diff) | |
download | synapse-dd44ee00b6cf4d900e56857039320660400cff37.tar.xz |
Add automatic purge after all users forget a room (#15488)
Also add restore of purge/shutdown rooms after a synapse restart. Co-authored-by: Eric Eastwood <erice@matrix.org> Co-authored-by: Erik Johnston <erikj@matrix.org>
Diffstat (limited to 'synapse/app/generic_worker.py')
-rw-r--r-- | synapse/app/generic_worker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py index d25e3548e0..f7c80eee21 100644 --- a/synapse/app/generic_worker.py +++ b/synapse/app/generic_worker.py @@ -77,6 +77,7 @@ from synapse.storage.databases.main.monthly_active_users import ( ) from synapse.storage.databases.main.presence import PresenceStore from synapse.storage.databases.main.profile import ProfileWorkerStore +from synapse.storage.databases.main.purge_events import PurgeEventsStore from synapse.storage.databases.main.push_rule import PushRulesWorkerStore from synapse.storage.databases.main.pusher import PusherWorkerStore from synapse.storage.databases.main.receipts import ReceiptsWorkerStore @@ -134,6 +135,7 @@ class GenericWorkerStore( RelationsWorkerStore, EventFederationWorkerStore, EventPushActionsWorkerStore, + PurgeEventsStore, StateGroupWorkerStore, SignatureWorkerStore, UserErasureWorkerStore, |