summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-01-30 17:56:19 +0000
committerGitHub <noreply@github.com>2017-01-30 17:56:19 +0000
commit4c9812f5da8ad854e9ec59fc4dfcadecdda70436 (patch)
treee7daec9cf524079f4c8da6031efb1358168bd20d /synapse/storage/roommember.py
parentMerge pull request #1857 from matrix-org/erikj/device_list_stream (diff)
parentDon't have such a large cache (diff)
downloadsynapse-4c9812f5da8ad854e9ec59fc4dfcadecdda70436.tar.xz
Merge pull request #1861 from matrix-org/erikj/device_list_fixes
Device List fixes
Diffstat (limited to 'synapse/storage/roommember.py')
-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..0fdcf29085 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=100000, iterable=True)
     def get_users_in_room(self, room_id):
         def f(txn):