diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-05 10:41:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-05 10:41:27 +0100 |
commit | 628e65721bdf1fb39e78a833d757a38e614b652d (patch) | |
tree | a4683f9d54d185e03c34dbf0be2ee5b1f8a896cb /synapse/events/snapshot.py | |
parent | Add upgrade script that will slowly prune state_groups_state entries (diff) | |
download | synapse-628e65721bdf1fb39e78a833d757a38e614b652d.tar.xz |
Add comments
Diffstat (limited to 'synapse/events/snapshot.py')
-rw-r--r-- | synapse/events/snapshot.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/events/snapshot.py b/synapse/events/snapshot.py index ec32008d5a..11605b34a3 100644 --- a/synapse/events/snapshot.py +++ b/synapse/events/snapshot.py @@ -27,12 +27,17 @@ class EventContext(object): ] def __init__(self): + # The current state including the current event self.current_state_ids = None + # The current state excluding the current event self.prev_state_ids = None self.state_group = None + self.rejected = False self.push_actions = [] + # A previously persisted state group and a delta between that + # and this state. self.prev_group = None self.delta_ids = None |