fix and implement sync workers

This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-09 10:53:49 +01:00
parent 24e0f3ae32
commit 0d48059bb9
2 changed files with 7 additions and 3 deletions

6
flake.lock generated
View File

@ -2,11 +2,11 @@
"nodes": {
"matrix-next": {
"locked": {
"lastModified": 1670577007,
"narHash": "sha256-e4ovnpSBgrX9nFBZSzTyJ9tLZxgXff9ptQszKDnQkCU=",
"lastModified": 1670578498,
"narHash": "sha256-ckDNqNF0WAjR8PeT2WOPUrGPdaOwNweaZuenz0Cqohs=",
"owner": "dali99",
"repo": "nixos-matrix-modules",
"rev": "240e550d4c35ebcef863ffd4adfe35207b8e53d2",
"rev": "9568a59b1b144c2337e5e75adb5e6c72475cd9f3",
"type": "github"
},
"original": {

View File

@ -23,6 +23,8 @@ in {
workers.federationSenders = 1;
workers.federationReceivers = 1;
workers.initialSyncers = 1;
workers.normalSyncers = 1;
enableNginx = true;
@ -191,6 +193,8 @@ in {
"master/1"
"fed-sender/1"
"fed-receiver/1"
"init-sync/1"
"normal-sync/1"
];
in {
alias = pkgs.writeTextDir "/config.json"