diff options
author | Rory& <root@rory.gay> | 2024-08-16 12:16:21 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-08-16 12:16:21 +0200 |
commit | 9778db57511950cda9d5c0f8955597d6b2282302 (patch) | |
tree | e946d27d44b425986240dd731afea7944894df1a /host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix | |
parent | Nginx log request times (diff) | |
download | Rory-Open-Architecture-9778db57511950cda9d5c0f8955597d6b2282302.tar.xz |
Some synapse workers cleanup
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix')
-rw-r--r-- | host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix b/host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix index 2e3574f..03f5576 100644 --- a/host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix +++ b/host/Rory-nginx/services/matrix/synapse/workers/federation-inbound.nix @@ -2,6 +2,9 @@ let cfg = config.services.matrix-synapse; + dbGroup = "medium"; + hasClientResource = false; + hasFederationResource = false; workers = lib.range 0 (cfg.federationReaders - 1); workerName = "federation_inbound"; workerRoutes = [ "~ /_matrix/federation/(v1|v2)/send/" ]; @@ -50,8 +53,8 @@ in ]; database = ( import ../db.nix { + inherit dbGroup; workerName = "${workerName}-${toString index}"; - dbGroup = "medium"; } ); }; |