mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 05:04:19 -05:00
Comment
This commit is contained in:
parent
c10ac7806e
commit
0fbed2a8fa
@ -410,6 +410,8 @@ class StateStore(SQLBaseStore):
|
|||||||
for e in state_events
|
for e in state_events
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Now we want to update the cache with all the things we fetched
|
||||||
|
# from the database.
|
||||||
for group, state_ids in group_state_dict.items():
|
for group, state_ids in group_state_dict.items():
|
||||||
if types:
|
if types:
|
||||||
# We delibrately put key -> None mappings into the cache to
|
# We delibrately put key -> None mappings into the cache to
|
||||||
@ -433,7 +435,6 @@ class StateStore(SQLBaseStore):
|
|||||||
for e in evs
|
for e in evs
|
||||||
})
|
})
|
||||||
|
|
||||||
# Update the cache
|
|
||||||
self._state_group_cache.update(
|
self._state_group_cache.update(
|
||||||
cache_seq_num,
|
cache_seq_num,
|
||||||
key=group,
|
key=group,
|
||||||
|
Loading…
Reference in New Issue
Block a user