diff options
Diffstat (limited to 'host/Rory-nginx/services')
-rwxr-xr-x | host/Rory-nginx/services/matrix/synapse.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index 61270c8..98d5d3d 100755 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -26,16 +26,18 @@ in federation = { client_timeout = "60s"; - max_short_retries = 6; - max_short_retry_delay = "10s"; + max_short_retries = 12; + max_short_retry_delay = "5s"; max_long_retries = 5; max_long_retry_delay = "30s"; }; - event_cache_size = "1200K"; #defaults to 10K + gc_min_interval = ["5m", "30m", "60m"]; + gc_thresholds = [1000, 500, 250] + event_cache_size = "12000K"; #defaults to 10K caches = { - global_factor = 5000.0; - cache_entry_ttl = "12h"; + global_factor = 50000.0; + cache_entry_ttl = "24h"; expire_caches = true; sync_response_cache_duration = "6h"; cache_autotuning = { @@ -90,7 +92,7 @@ in host = "127.0.0.1"; application_name = "matrix-synapse (rory.gay)"; cp_min = 5; - cp_max = 50; + cp_max = 10; #cp_reconnect_interval = "True"; }; }; |