summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-05-07 18:50:59 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit19e51cb53fbf4d839820208be60433d90b378fd9 (patch)
tree1f22851dcadcfb579289d989a6a03db93c7b914b /host/Rory-nginx/services/matrix/synapse.nix
parentsemicolons... (diff)
downloadRory-Open-Architecture-19e51cb53fbf4d839820208be60433d90b378fd9.tar.xz
2 db connections per federation sender
Diffstat (limited to '')
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix7
1 files changed, 7 insertions, 0 deletions
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);
   };