diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-14 13:54:34 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-15 09:51:09 +0000 |
commit | d10d19f0ad996b39141c2a53a97182f0d3a0811c (patch) | |
tree | ffe43e2adc553524aef60c73256ceacf0949e5c7 | |
parent | Make _get_joined_hosts_cache cache non-iterable (diff) | |
download | synapse-d10d19f0ad996b39141c2a53a97182f0d3a0811c.tar.xz |
Increase store._state_group_cache cache size
-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 adb48df73e..08a648ce44 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -54,7 +54,7 @@ class StateGroupWorkerStore(SQLBaseStore): super(StateGroupWorkerStore, self).__init__(db_conn, hs) self._state_group_cache = DictionaryCache( - "*stateGroupCache*", 100000 * CACHE_SIZE_FACTOR + "*stateGroupCache*", 500000 * CACHE_SIZE_FACTOR ) @cached(max_entries=100000, iterable=True) |