diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-28 10:50:57 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-28 10:50:57 +0000 |
commit | 61eaa6ec64456d58b269f8f69c92feb4f339b6b9 (patch) | |
tree | 4b6081e15b22f8166803baa28fe52a7cb3fdd0f0 /synapse/storage | |
parent | No chdir (diff) | |
parent | Up get_rooms_for_user cache size (diff) | |
download | synapse-61eaa6ec64456d58b269f8f69c92feb4f339b6b9.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/sync
Diffstat (limited to 'synapse/storage')
-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 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], |