diff options
author | Rory&::Emma <root@rory.gay> | 2023-11-29 21:32:27 +0000 |
---|---|---|
committer | Rory&::Emma <root@rory.gay> | 2023-11-29 21:32:27 +0000 |
commit | ecebc2f62de74ffe9818de610f95e835b32ff531 (patch) | |
tree | bea33b602c64157f7e2eb2391c5e653c6323e49c /host | |
parent | Updates (diff) | |
download | Rory-Open-Architecture-ecebc2f62de74ffe9818de610f95e835b32ff531.tar.xz |
Update synapse cache settings
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"; }; |