From d9c19385faf34b8c2c6a314f7aea4aa7b544b00c Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 8 Mar 2023 03:18:57 +0100 Subject: [PATCH] synapse: cache more event_auth --- hosts/jokum/services/matrix/synapse.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/jokum/services/matrix/synapse.nix b/hosts/jokum/services/matrix/synapse.nix index 467b525..db1a6f9 100644 --- a/hosts/jokum/services/matrix/synapse.nix +++ b/hosts/jokum/services/matrix/synapse.nix @@ -52,6 +52,12 @@ in { presence.enabled = false; + caches = { + per_cache_factors = { + _event_auth_cache = 2.0; + }; + }; + autocreate_auto_join_rooms = false; auto_join_rooms = [ "#pvv:pvv.ntnu.no" # Main space