forked from MirrorHub/synapse
Fix up comments
This commit is contained in:
parent
d9f3db5081
commit
67a1e315cc
1 changed files with 3 additions and 3 deletions
|
@ -1044,9 +1044,9 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
|
||||||
def _is_state_group_referenced(self, txn, state_group):
|
def _is_state_group_referenced(self, txn, state_group):
|
||||||
"""Checks if a given state group is referenced, or is safe to delete.
|
"""Checks if a given state group is referenced, or is safe to delete.
|
||||||
|
|
||||||
A state groups is referenced if it or any of its descendants are
|
A state group is referenced if it or any of its descendants are
|
||||||
pointed at by an event. (A descendant is a group which has the given
|
pointed at by an event. (A descendant is a state_group whose chain of
|
||||||
state_group as a prev group)
|
prev_groups includes the given state_group.)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# We check this by doing a depth first search to look for any
|
# We check this by doing a depth first search to look for any
|
||||||
|
|
Loading…
Reference in a new issue