From d694724f5cf4f64d5d58316af11013e32de07234 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 26 May 2023 02:22:18 +0200 Subject: [PATCH] bicep/synapse: Set event cache to 20K This is double the cache from default changed because we're seeing periodic cpu spikes with this cache beeing the main one missing --- hosts/bicep/services/matrix/synapse.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/bicep/services/matrix/synapse.nix b/hosts/bicep/services/matrix/synapse.nix index 7858b8f5..41ad76d6 100644 --- a/hosts/bicep/services/matrix/synapse.nix +++ b/hosts/bicep/services/matrix/synapse.nix @@ -58,6 +58,7 @@ in { presence.enabled = false; + event_cache_size = "20K"; # Default is 10K but I can't find the factor for this cache caches = { per_cache_factors = { _event_auth_cache = 2.0;