From 19e51cb53fbf4d839820208be60433d90b378fd9 Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 7 May 2024 18:50:59 +0200 Subject: 2 db connections per federation sender --- host/Rory-nginx/services/matrix/synapse.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'host') diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index 2837602..043b8b3 100755 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -244,6 +244,13 @@ in value = { worker_app = "synapse.app.generic_worker"; worker_listeners = [ ]; + database = { + args = { + application_name = "matrix-synapse (rory.gay) - federation sender ${toString port}"; + cp_min = 2; + cp_max = 2; + }; + }; }; }) federationSenders); }; -- cgit 1.4.1