summary refs log tree commit diff
path: root/synapse/storage/account_data.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-28 18:20:00 +0000
committerErik Johnston <erik@matrix.org>2016-01-28 18:20:00 +0000
commit467c27a1f90b873d6838ad1351399551cfa9cc07 (patch)
treead9fbdf9eaf03703deac65d06f300708b9736be1 /synapse/storage/account_data.py
parent If the same as the earliest key, assume nothing has changed. (diff)
downloadsynapse-467c27a1f90b873d6838ad1351399551cfa9cc07.tar.xz
Amalgamate tags and account data stream caches
Diffstat (limited to 'synapse/storage/account_data.py')
-rw-r--r--synapse/storage/account_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py
index 88404059e8..822c8bbe00 100644
--- a/synapse/storage/account_data.py
+++ b/synapse/storage/account_data.py
@@ -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,
         )