Merge pull request #227338 from erictapen/mastodon
This commit is contained in:
commit
bcd46a36a7
1 changed files with 6 additions and 5 deletions
|
@ -588,11 +588,12 @@ in {
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = 1 == builtins.length
|
assertion = 1 ==
|
||||||
(lib.mapAttrsToList
|
(lib.count (x: x)
|
||||||
(_: v: builtins.elem "scheduler" v.jobClasses || v.jobClasses == [ ])
|
(lib.mapAttrsToList
|
||||||
cfg.sidekiqProcesses);
|
(_: v: builtins.elem "scheduler" v.jobClasses || v.jobClasses == [ ])
|
||||||
message = "There must be one and only one Sidekiq queue in services.mastodon.sidekiqProcesses with jobClass \"scheduler\".";
|
cfg.sidekiqProcesses));
|
||||||
|
message = "There must be exactly one Sidekiq queue in services.mastodon.sidekiqProcesses with jobClass \"scheduler\".";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue