diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-03-08 15:08:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 20:08:56 +0000 |
commit | 88efc75bab2849b7b1cee52770dea3cf9925b2e8 (patch) | |
tree | 712e01bdde16a0b03f1e1d4b88983f8b2efab6ff /synapse/storage/databases/state | |
parent | Add a missing endpoint to the workers documentation. (#15223) (diff) | |
download | synapse-88efc75bab2849b7b1cee52770dea3cf9925b2e8.tar.xz |
Include the room ID in more purge room log lines. (#15222)
Diffstat (limited to 'synapse/storage/databases/state')
-rw-r--r-- | synapse/storage/databases/state/store.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py index bf4cdfdf29..29ff64e876 100644 --- a/synapse/storage/databases/state/store.py +++ b/synapse/storage/databases/state/store.py @@ -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, |