summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-28 09:58:45 +0000
committerErik Johnston <erik@matrix.org>2016-01-28 09:58:45 +0000
commitc5e7c0e436d9073c07887676817bb5a45314aea5 (patch)
tree40d63a2ec20dfcfe3bc4830da2f243982baefa4c /synapse
parentMerge pull request #535 from matrix-org/rav/paginate_from_stream_token (diff)
downloadsynapse-c5e7c0e436d9073c07887676817bb5a45314aea5.tar.xz
Up get_rooms_for_user cache size
Diffstat (limited to 'synapse')
-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 edfecced05..1d3e004c90 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -241,7 +241,7 @@ class RoomMemberStore(SQLBaseStore):
 
         return rows
 
-    @cached()
+    @cached(max_entries=5000)
     def get_rooms_for_user(self, user_id):
         return self.get_rooms_for_user_where_membership_is(
             user_id, membership_list=[Membership.JOIN],