diff options
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/caches.nix')
-rw-r--r-- | host/Rory-nginx/services/matrix/synapse/caches.nix | 10 |
1 files changed, 5 insertions, 5 deletions
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"; |