diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-14 13:53:55 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-15 09:51:09 +0000 |
commit | daec1d77be9fb3cd5f71db4cc49b4aa4acb33c26 (patch) | |
tree | 6a0bfdd0373ca8d1eb86bf1f90c84bccaa1a1b5e | |
parent | Increase MAX_EVENTS_BEHIND for replication clients (diff) | |
download | synapse-daec1d77be9fb3cd5f71db4cc49b4aa4acb33c26.tar.xz |
Make _get_joined_hosts_cache cache non-iterable
-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 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) |