summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-11-01 11:32:20 +0000
committerErik Johnston <erik@matrix.org>2019-11-01 11:32:20 +0000
commit669b6cbda3e545f277def545954948090aec8980 (patch)
treeab981bee79d8f5c2e06f9dd5ca7c4f5a591bc8f0
parentUpdate log line to lie a little less (diff)
downloadsynapse-669b6cbda3e545f277def545954948090aec8980.tar.xz
Fix up comment
-rw-r--r--synapse/storage/data_stores/main/events.py3
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