From 61c94c0cd250d18114c6c889e55636d94d1475f1 Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 3 Jul 2024 23:23:11 +0200 Subject: Synapse main cleanup --- host/Rory-nginx/services/matrix/synapse/caches.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host/Rory-nginx/services/matrix/synapse/caches.nix') diff --git a/host/Rory-nginx/services/matrix/synapse/caches.nix b/host/Rory-nginx/services/matrix/synapse/caches.nix index d129076..6196129 100644 --- a/host/Rory-nginx/services/matrix/synapse/caches.nix +++ b/host/Rory-nginx/services/matrix/synapse/caches.nix @@ -1,12 +1,12 @@ { - gc_min_interval = ["5m" "30m" "60m"]; - gc_thresholds = [1000 500 250]; + gc_min_interval = [ "15m" "30m" "60m" ]; + gc_thresholds = [ 10000 5000 2500 ]; event_cache_size = "12000K"; #defaults to 10K caches = { - global_factor = 50000.0; + global_factor = 500000.0; cache_entry_ttl = "24h"; - expire_caches = true; - sync_response_cache_duration = "15s"; #6h + expire_caches = false; + sync_response_cache_duration = "15s"; cache_autotuning = { max_cache_memory_usage = "65536M"; target_cache_memory_usage = "32768M"; -- cgit 1.4.1