From cc5f8057a85537e1525b9d847dc76e56eef81645 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 22 Jul 2024 23:16:29 +0200 Subject: [PATCH] hydra-eval-jobset: pass --workers and --max-memory-size to n-e-j Lost in the h-e-j -> n-e-j migration, causing evaluation to always be single threaded and limited to 4GiB RAM. Follow the config settings like h-e-j used to do (via C++ code). (cherry picked from commit 4b107e6ff36bd89958fba36e0fe0340903e7cd13) --- src/script/hydra-eval-jobset | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/script/hydra-eval-jobset b/src/script/hydra-eval-jobset index 7077c62ca..6dc1514b0 100755 --- a/src/script/hydra-eval-jobset +++ b/src/script/hydra-eval-jobset @@ -374,6 +374,8 @@ sub evalJobs { push @cmd, "--constituents"; push @cmd, "--force-recurse"; push @cmd, ("--option", "allow-import-from-derivation", "false") if $config->{allow_import_from_derivation} // "true" ne "true"; + push @cmd, ("--workers", $config->{evaluator_workers} // 1); + push @cmd, ("--max-memory-size", $config->{evaluator_max_memory_size} // 4096); if (defined $ENV{'HYDRA_DEBUG'}) { sub escape {