diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-16 11:56:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-16 11:56:51 +0000 |
commit | 01521299c7d6d65b0f8b567bc7b7dbf94b7a81ce (patch) | |
tree | 51595bbb1eec75ffee2fea015587559f5cbe9081 /synapse/storage/state.py | |
parent | Optionally measure size of cache by sum of length of values (diff) | |
download | synapse-01521299c7d6d65b0f8b567bc7b7dbf94b7a81ce.tar.xz |
Increase cache size limit
Diffstat (limited to 'synapse/storage/state.py')
-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 c480743f89..fe942ecad7 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -284,7 +284,7 @@ class StateStore(SQLBaseStore): return [r[0] for r in results] return self.runInteraction("get_current_state_for_key", f) - @cached(num_args=2, max_entries=1000, iterable=True) + @cached(num_args=2, max_entries=50000, iterable=True) def _get_state_group_from_group(self, group, types): raise NotImplementedError() |