diff options
author | Erik Johnston <erik@matrix.org> | 2017-11-13 09:52:11 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-11-13 09:52:11 +0000 |
commit | bfbf1e1f1a78d730b7296101c85c3080e0ea2b01 (patch) | |
tree | 4be128e2591ab85441cb15dd8e00fec7c5366f29 | |
parent | Merge pull request #2662 from matrix-org/rav/fix_mxids_again (diff) | |
download | synapse-bfbf1e1f1a78d730b7296101c85c3080e0ea2b01.tar.xz |
Up cache size of get_global_account_data_by_type_for_user
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/account_data.py | 2 |
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: |