diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-04 09:58:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-04 09:58:32 +0100 |
commit | 495f075b418abebfd2e4519e893cb51ad9821f55 (patch) | |
tree | e3e32315c24c4b10bbf5acf43f27617f3a8fd559 /synapse/util/caches | |
parent | Define CACHE_SIZE_FACTOR once (diff) | |
download | synapse-495f075b418abebfd2e4519e893cb51ad9821f55.tar.xz |
Increase default cache factor size.
Diffstat (limited to 'synapse/util/caches')
-rw-r--r-- | synapse/util/caches/__init__.py | 2 |
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") |