Merge pull request #3432 from matrix-org/rav/joined_hosts_cache_non_iterable

Make _get_joined_hosts_cache cache non-iterable
This commit is contained in:
Richard van der Hoff 2018-06-22 15:18:51 +01:00 committed by GitHub
commit 200e11c5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)