summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-03 23:23:11 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit61c94c0cd250d18114c6c889e55636d94d1475f1 (patch)
tree3131eb3db0ce1404e9641a301f8dd1d06a682628 /host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
parentMore senders (diff)
downloadRory-Open-Architecture-61c94c0cd250d18114c6c889e55636d94d1475f1.tar.xz
Synapse main cleanup
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix')
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix b/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
index 9d00c78..9c5ed7c 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
@@ -6,13 +6,7 @@ in
 {
   services.matrix-synapse = lib.mkIf (cfg.federationSenders > 0) {
     settings = {
-      instance_map = lib.listToAttrs (lib.map (index: {
-        name = "federation_sender-${toString index}";
-        value = {
-          path = "/run/matrix-synapse/federation_sender-${toString index}.sock";
-        };
-      }) federationSenders);
-
+      # Instance map is not needed for federation senders
       send_federation = false;
       federation_sender_instances = lib.map (index: "federation_sender-${toString index}") federationSenders;
     };