mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Amalgamate tags and account data stream caches
This commit is contained in:
parent
3f5dd18bd4
commit
467c27a1f9
2 changed files with 9 additions and 12 deletions
|
@ -28,7 +28,8 @@ class AccountDataStore(SQLBaseStore):
|
|||
super(AccountDataStore, self).__init__(hs)
|
||||
|
||||
self._account_data_stream_cache = StreamChangeCache(
|
||||
"AccountDataChangeCache", self._account_data_id_gen.get_max_token(None),
|
||||
"AccountDataAndTagsChangeCache",
|
||||
self._account_data_id_gen.get_max_token(None),
|
||||
max_size=1000,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue