summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-16 11:47:26 +0100
committerErik Johnston <erik@matrix.org>2018-05-16 11:47:29 +0100
commit680530cc7f80533b9d63ce9bed04dc28ca87ca13 (patch)
tree6c37151f43b475e22e4f462a5d314e81f8bf382e /synapse/storage
parentComments (diff)
downloadsynapse-680530cc7f80533b9d63ce9bed04dc28ca87ca13.tar.xz
Clarify comment
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/events.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 93ac80ee48..5ebef98c4f 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -1931,7 +1931,8 @@ class EventsStore(EventsWorkerStore):
         logger.info("[purge] Finding new backward extremities")
 
         # We calculate the new entries for the backward extremeties by finding
-        # all events that point to events that are to be purged
+        # events to be purged that are pointed to by events we're not going to
+        # purge.
         txn.execute(
             "SELECT DISTINCT e.event_id FROM events_to_purge AS e"
             " INNER JOIN event_edges AS ed ON e.event_id = ed.prev_event_id"