diff options
author | Erik Johnston <erik@matrix.org> | 2019-11-01 11:32:20 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-11-01 11:32:20 +0000 |
commit | 669b6cbda3e545f277def545954948090aec8980 (patch) | |
tree | ab981bee79d8f5c2e06f9dd5ca7c4f5a591bc8f0 /synapse/storage/data_stores | |
parent | Update log line to lie a little less (diff) | |
download | synapse-669b6cbda3e545f277def545954948090aec8980.tar.xz |
Fix up comment
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r-- | synapse/storage/data_stores/main/events.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/main/events.py b/synapse/storage/data_stores/main/events.py index 3a9b6bed45..a71d7346d2 100644 --- a/synapse/storage/data_stores/main/events.py +++ b/synapse/storage/data_stores/main/events.py @@ -1512,8 +1512,7 @@ class EventsStore( logger.info("[purge] finding state groups referenced by deleted events") # Get all state groups that are referenced by events that are to be - # deleted. We then go and check if they are referenced by other events - # or state groups, and if not we delete them. + # deleted. txn.execute( """ SELECT DISTINCT state_group FROM events_to_purge |