From 71c8745eaebdd9cfb51beae72c86f4b0b2ddb09d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 4 Jun 2023 21:35:43 -0400 Subject: [PATCH] Tweak synapse caches --- modules/linux/services/matrix.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/linux/services/matrix.nix b/modules/linux/services/matrix.nix index 55c27a0..9a23ddf 100644 --- a/modules/linux/services/matrix.nix +++ b/modules/linux/services/matrix.nix @@ -25,6 +25,11 @@ in with lib; { enable_registration = nathan.services.matrix.enableRegistration; server_name = nathan.services.matrix.baseDomain; + caches = { + global_factor = 2.0; + sync_response_cache_duration = "10m"; + }; + listeners = [{ port = 8008; bind_addresses = [ "::1" ];