summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-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);
   };