diff options
Diffstat (limited to 'host')
-rwxr-xr-x | host/Rory-nginx/services/matrix/synapse.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index d41072e..dcc9a10 100755 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -27,10 +27,12 @@ event_cache_size = "30K"; #defaults to 10K caches = { - global_factor = 1.0; - sync_response_cache_duration = "30m"; + global_factor = 50.0; + cache_entry_ttl = "60m"; + expire_caches = true; + sync_response_cache_duration = "5m"; cache_autotuning = { - max_cache_memory_usage = "2048M"; + max_cache_memory_usage = "4096M"; target_cache_memory_usage = "1024M"; min_cache_ttl = "30m"; }; |