summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-14 13:53:55 +0000
committerRichard van der Hoff <richard@matrix.org>2018-06-22 15:12:26 +0100
commitf8272813a928e40ce692d05a6d25d5d15922e4f5 (patch)
tree45e7170f2a559e48304967010d55f4d80e70f223
parentMerge pull request #3431 from matrix-org/rav/erasure_visibility (diff)
downloadsynapse-f8272813a928e40ce692d05a6d25d5d15922e4f5.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 48a88f755e..829cc4a207 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -455,7 +455,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
 
         defer.returnValue(joined_hosts)
 
-    @cached(max_entries=10000, iterable=True)
+    @cached(max_entries=10000)
     def _get_joined_hosts_cache(self, room_id):
         return _JoinedHostsCache(self, room_id)