summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-17 11:25:51 +0000
committerErik Johnston <erik@matrix.org>2017-01-17 11:31:08 +0000
commitd9062060499d670f41ebc31d43003bed3502a722 (patch)
tree7ceb7ae94347bba953b2752c3dc4a2bfb46aa753 /synapse
parentSpeed up cache size calculation (diff)
downloadsynapse-d9062060499d670f41ebc31d43003bed3502a722.tar.xz
Increase state_group_cache_size
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 5620a655eb..963ef999d5 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -169,7 +169,7 @@ class SQLBaseStore(object):
                                       max_entries=hs.config.event_cache_size)
 
         self._state_group_cache = DictionaryCache(
-            "*stateGroupCache*", 2000 * CACHE_SIZE_FACTOR
+            "*stateGroupCache*", 100000 * CACHE_SIZE_FACTOR
         )
 
         self._event_fetch_lock = threading.Condition()