mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 21:54:09 -04:00
Cache get_room_changes_for_user
This commit is contained in:
parent
cc9c97e0dc
commit
25c311eaf6
3 changed files with 15 additions and 0 deletions
|
@ -131,6 +131,10 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
prefilled_cache=event_cache_prefill,
|
||||
)
|
||||
|
||||
self._membership_stream_cache = StreamChangeCache(
|
||||
"MembershipStreamChangeCache", events_max,
|
||||
)
|
||||
|
||||
account_max = self._account_data_id_gen.get_max_token(None)
|
||||
self._account_data_stream_cache = StreamChangeCache(
|
||||
"AccountDataAndTagsChangeCache", account_max,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue