summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-04 14:52:28 +0100
committerErik Johnston <erik@matrix.org>2017-05-04 14:52:28 +0100
commit07a07588a01a644837ccea57f2307d0450cd28d9 (patch)
tree02cca899ea9bb8e70139c6d74b9298d2815327d5 /synapse/storage/roommember.py
parentFix comment and num args (diff)
downloadsynapse-07a07588a01a644837ccea57f2307d0450cd28d9.tar.xz
Make caches bigger
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index c571da2ce4..1963b95724 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -494,7 +494,7 @@ class RoomMemberStore(SQLBaseStore):
             room_id, state_group, state_ids
         )
 
-    @cachedInlineCallbacks(num_args=2)
+    @cachedInlineCallbacks(num_args=2, max_entries=10000, iterable=True)
     def _get_joined_hosts(self, room_id, state_group, current_state_ids):
         # We don't use `state_group`, its there so that we can cache based
         # on it. However, its important that its never None, since two current_state's