mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 17:32:43 +00:00
Update comment
This commit is contained in:
1 parent
1827057acc
commit
2c2dcf81d0
1 file changed
+2
-1
@@ -229,7 +229,8 @@ 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.
|
||||
# is immutable. (If the map wasn't immutable then this prefill could
|
||||
# race with another update)
|
||||
txn.call_after(
|
||||
self._state_group_cache.update,
|
||||
self._state_group_cache.sequence,
|
||||
|
||||
Reference in new issue
Block a user