From 6e979a17405292a2a42430bb0d35ed7745dbd54c Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 3 Apr 2020 18:42:14 +0100 Subject: [PATCH] sample config --- docs/sample_config.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index be742969cc0f..7fbd9cfe2a48 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1927,3 +1927,18 @@ opentracing: # # logging: # false + + +# Cache configuration +# +# 'global_factor' controls the global cache factor. This overrides the +# "SYNAPSE_CACHE_FACTOR" environment variable. +# +# 'per_cache_factors' is a dictionary of cache name to cache factor for that +# individual cache. +# +#caches: +# global_factor: 0.5 +# per_cache_factors: +# get_users_who_share_room_with_user: 2 +#