summary refs log tree commit diff
path: root/synapse/storage/databases/main
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-05-17 19:01:06 +0200
committerGitHub <noreply@github.com>2022-05-17 17:01:06 +0000
commit182ca78a12c4ae0f37726d43d5e592d669d99ee1 (patch)
tree0b52a822d0d3d89d95d7a62ed7d5de6dabf9a43f /synapse/storage/databases/main
parentallow `on_invalidate=None` in `@cached` methods (#12769) (diff)
downloadsynapse-182ca78a12c4ae0f37726d43d5e592d669d99ee1.tar.xz
Delete events from federation_inbound_events_staging table on purge (#12770)
Diffstat (limited to 'synapse/storage/databases/main')
-rw-r--r--synapse/storage/databases/main/purge_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/purge_events.py b/synapse/storage/databases/main/purge_events.py
index 38ba91af4c..c94d5f9f81 100644
--- a/synapse/storage/databases/main/purge_events.py
+++ b/synapse/storage/databases/main/purge_events.py
@@ -417,6 +417,7 @@ class PurgeEventsStore(StateGroupWorkerStore, CacheInvalidationWorkerStore):
             "room_account_data",
             "room_tags",
             "local_current_membership",
+            "federation_inbound_events_staging",
         ):
             logger.info("[purge] removing %s from %s", room_id, table)
             txn.execute("DELETE FROM %s WHERE room_id=?" % (table,), (room_id,))