git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/hercules-ci-agent: Improve concurrentTasks option doc
commit0c2295775102edcb4296b5f5a14a5e2b4edf5dee authorRobert Hensing <robert@roberthensing.nl> dateWed 10 Feb 2021, 09:49 (6 years ago) parentfbabab7
1 file changed+7−3
nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix+7−3
nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix+7−3
@@ -35,10 +35,14 @@ let
3535 };
3636 concurrentTasks = mkOption {
3737 description = ''
38− Number of tasks to perform simultaneously, such as evaluations, derivations.
38+ Number of tasks to perform simultaneously.
3939
40− You must have a total capacity across agents of at least 2 concurrent tasks on <literal>x86_64-linux</literal>
41− to allow for import from derivation.
40+ A task is a single derivation build or an evaluation.
41+ At minimum, you need 2 concurrent tasks for <literal>x86_64-linux</literal>
42+ in your cluster, to allow for import from derivation.
43+
44+ <literal>concurrentTasks</literal> can be around the CPU core count or lower if memory is
45+ the bottleneck.
4246 '';
4347 type = types.int;
4448 default = 4;