Delete events from federation_inbound_events_staging table on purge (#12770)

This commit is contained in:
Mathieu Velten 2022-05-17 19:01:06 +02:00 committed by GitHub
parent 5331fb5b47
commit 182ca78a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -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,))