0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2025-01-19 05:42:02 +01:00

Increase default cache factor size.

This commit is contained in:
Erik Johnston 2017-07-04 09:58:32 +01:00
parent b5e8d529e6
commit 495f075b41

View file

@ -16,7 +16,7 @@
import synapse.metrics import synapse.metrics
import os 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") metrics = synapse.metrics.get_metrics_for("synapse.util.caches")