mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 21:54:10 -04:00
Include the room ID in more purge room log lines. (#15222)
This commit is contained in:
parent
f4fc83ac75
commit
88efc75bab
5 changed files with 23 additions and 15 deletions
|
@ -805,12 +805,14 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore):
|
|||
state_groups_to_delete: State groups to delete
|
||||
"""
|
||||
|
||||
logger.info("[purge] Starting state purge")
|
||||
await self.db_pool.runInteraction(
|
||||
"purge_room_state",
|
||||
self._purge_room_state_txn,
|
||||
room_id,
|
||||
state_groups_to_delete,
|
||||
)
|
||||
logger.info("[purge] Done with state purge")
|
||||
|
||||
def _purge_room_state_txn(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue