diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-22 14:08:13 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-22 14:08:13 +0000 |
commit | 76d18a577661257abe0d047129383dbd09bbe9b1 (patch) | |
tree | b314d3bc9c866e11c9c18e9d55ce3cc72a1a981e /synapse/storage/directory.py | |
parent | Merge pull request #661 from matrix-org/markjh/member_count (diff) | |
download | synapse-76d18a577661257abe0d047129383dbd09bbe9b1.tar.xz |
Bump get_aliases_for_room cache
Diffstat (limited to 'synapse/storage/directory.py')
-rw-r--r-- | synapse/storage/directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/directory.py b/synapse/storage/directory.py index 012a0b414a..ef231a04dc 100644 --- a/synapse/storage/directory.py +++ b/synapse/storage/directory.py @@ -155,7 +155,7 @@ class DirectoryStore(SQLBaseStore): return room_id - @cached() + @cached(max_entries=5000) def get_aliases_for_room(self, room_id): return self._simple_select_onecol( "room_aliases", |