diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-18 11:00:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-18 11:00:38 +0100 |
commit | 85d0bc3bdce038726be4daad6560e1a2a982c9fe (patch) | |
tree | be5b8277a9c04e04fb029a2bffe7f322c28a1282 | |
parent | Merge pull request #226 from matrix-org/erikj/room_presence (diff) | |
download | synapse-85d0bc3bdce038726be4daad6560e1a2a982c9fe.tar.xz |
Reduce cache size from obscenely large to quite large
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index ecb62e6dfd..ab3ad5a076 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -240,7 +240,7 @@ class StateStore(SQLBaseStore): defer.returnValue({event: event_to_state[event] for event in event_ids}) - @cached(num_args=2, lru=True, max_entries=100000) + @cached(num_args=2, lru=True, max_entries=10000) def _get_state_group_for_event(self, room_id, event_id): return self._simple_select_one_onecol( table="event_to_state_groups", |