summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-03 09:56:05 +0100
committerErik Johnston <erik@matrix.org>2017-05-03 09:56:05 +0100
commit1827057acc2b8f821ec20538cbf781f798e34700 (patch)
treee7ff398712beee50c36edb2f5940740e2cc0f849 /synapse/storage/state.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/prefill_state (diff)
downloadsynapse-1827057acc2b8f821ec20538cbf781f798e34700.tar.xz
Comments
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py

index 1e1ce87e0e..5d6f7dfa28 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py
@@ -227,6 +227,9 @@ class StateStore(SQLBaseStore): ], ) + # Prefill the state group cache with this group. + # It's fine to use the sequence like this as the state group map + # is immutable. txn.call_after( self._state_group_cache.update, self._state_group_cache.sequence,