summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-14 13:53:55 +0000
committerErik Johnston <erik@matrix.org>2018-02-15 09:51:09 +0000
commitdaec1d77be9fb3cd5f71db4cc49b4aa4acb33c26 (patch)
tree6a0bfdd0373ca8d1eb86bf1f90c84bccaa1a1b5e
parentIncrease MAX_EVENTS_BEHIND for replication clients (diff)
downloadsynapse-daec1d77be9fb3cd5f71db4cc49b4aa4acb33c26.tar.xz
Make _get_joined_hosts_cache cache non-iterable
-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 3e77fd3901..75ac06da85 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -675,7 +675,7 @@ class RoomMemberStore(SQLBaseStore):
 
         defer.returnValue(result)
 
-    @cached(max_entries=10000, iterable=True)
+    @cached(max_entries=10000)
     def _get_joined_hosts_cache(self, room_id):
         return _JoinedHostsCache(self, room_id)