summary refs log tree commit diff
path: root/synapse/storage/account_data.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-11-13 09:52:11 +0000
committerErik Johnston <erik@matrix.org>2017-11-13 09:52:11 +0000
commitbfbf1e1f1a78d730b7296101c85c3080e0ea2b01 (patch)
tree4be128e2591ab85441cb15dd8e00fec7c5366f29 /synapse/storage/account_data.py
parentMerge pull request #2662 from matrix-org/rav/fix_mxids_again (diff)
downloadsynapse-bfbf1e1f1a78d730b7296101c85c3080e0ea2b01.tar.xz
Up cache size of get_global_account_data_by_type_for_user
Diffstat (limited to 'synapse/storage/account_data.py')
-rw-r--r--synapse/storage/account_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py
index ff14e54c11..c8a1eb016b 100644
--- a/synapse/storage/account_data.py
+++ b/synapse/storage/account_data.py
@@ -63,7 +63,7 @@ class AccountDataStore(SQLBaseStore):
             "get_account_data_for_user", get_account_data_for_user_txn
         )
 
-    @cachedInlineCallbacks(num_args=2)
+    @cachedInlineCallbacks(num_args=2, max_entries=5000)
     def get_global_account_data_by_type_for_user(self, data_type, user_id):
         """
         Returns: