Amalgamate tags and account data stream caches

This commit is contained in:
Erik Johnston 2016-01-28 18:20:00 +00:00
parent 3f5dd18bd4
commit 467c27a1f9
2 changed files with 9 additions and 12 deletions

View file

@ -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,
)