mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-18 14:03:59 +01:00
Clarify comment
This commit is contained in:
parent
43e6e82c4d
commit
680530cc7f
1 changed files with 2 additions and 1 deletions
|
@ -1931,7 +1931,8 @@ class EventsStore(EventsWorkerStore):
|
||||||
logger.info("[purge] Finding new backward extremities")
|
logger.info("[purge] Finding new backward extremities")
|
||||||
|
|
||||||
# We calculate the new entries for the backward extremeties by finding
|
# 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(
|
txn.execute(
|
||||||
"SELECT DISTINCT e.event_id FROM events_to_purge AS e"
|
"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"
|
" INNER JOIN event_edges AS ed ON e.event_id = ed.prev_event_id"
|
||||||
|
|
Loading…
Reference in a new issue