diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-14 13:53:55 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-06-22 15:12:26 +0100 |
commit | f8272813a928e40ce692d05a6d25d5d15922e4f5 (patch) | |
tree | 45e7170f2a559e48304967010d55f4d80e70f223 /synapse | |
parent | Merge pull request #3431 from matrix-org/rav/erasure_visibility (diff) | |
download | synapse-f8272813a928e40ce692d05a6d25d5d15922e4f5.tar.xz |
Make _get_joined_hosts_cache cache non-iterable
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
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) |