summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-04 09:58:32 +0100
committerErik Johnston <erik@matrix.org>2017-07-04 09:58:32 +0100
commit495f075b418abebfd2e4519e893cb51ad9821f55 (patch)
treee3e32315c24c4b10bbf5acf43f27617f3a8fd559
parentDefine CACHE_SIZE_FACTOR once (diff)
downloadsynapse-495f075b418abebfd2e4519e893cb51ad9821f55.tar.xz
Increase default cache factor size.
-rw-r--r--synapse/util/caches/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/__init__.py b/synapse/util/caches/__init__.py
index 4a83c46d98..4adae96681 100644
--- a/synapse/util/caches/__init__.py
+++ b/synapse/util/caches/__init__.py
@@ -16,7 +16,7 @@
 import synapse.metrics
 import os
 
-CACHE_SIZE_FACTOR = float(os.environ.get("SYNAPSE_CACHE_FACTOR", 0.1))
+CACHE_SIZE_FACTOR = float(os.environ.get("SYNAPSE_CACHE_FACTOR", 0.5))
 
 metrics = synapse.metrics.get_metrics_for("synapse.util.caches")