Make _get_joined_hosts_cache cache non-iterable

This commit is contained in:
Erik Johnston 2018-02-14 13:53:55 +00:00 committed by Richard van der Hoff
parent ce0d911156
commit f8272813a9
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
defer.returnValue(joined_hosts) defer.returnValue(joined_hosts)
@cached(max_entries=10000, iterable=True) @cached(max_entries=10000)
def _get_joined_hosts_cache(self, room_id): def _get_joined_hosts_cache(self, room_id):
return _JoinedHostsCache(self, room_id) return _JoinedHostsCache(self, room_id)