summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-30 16:37:22 +0000
committerErik Johnston <erik@matrix.org>2017-01-30 16:37:22 +0000
commit828db669ecf4a631a4cab0c78d2ea8df7c531716 (patch)
tree01631edbe830b72ede07a29afebd2f4608260fa5 /synapse/storage
parentMerge pull request #1857 from matrix-org/erikj/device_list_stream (diff)
downloadsynapse-828db669ecf4a631a4cab0c78d2ea8df7c531716.tar.xz
Use get_users_in_room and declare it iterable
Diffstat (limited to 'synapse/storage')
-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 768e0a4451..6cf1a538ae 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -131,7 +131,7 @@ class RoomMemberStore(SQLBaseStore):
         with self._stream_id_gen.get_next() as stream_ordering:
             yield self.runInteraction("locally_reject_invite", f, stream_ordering)
 
-    @cached(max_entries=5000)
+    @cached(max_entries=1000000, iterable=True)
     def get_users_in_room(self, room_id):
         def f(txn):