1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

hydra-evaluator: Do the actual work in a subprocess

This should get rid of the slow memory leaks exhibited by
hydra-evaluator.
This commit is contained in:
Eelco Dolstra 2013-09-21 15:49:27 +00:00
parent 4ed877360b
commit 9602499c1c

View file

@ -308,13 +308,10 @@ sub checkSomeJobset {
return 0 unless defined $jobset;
checkJobset($jobset);
return 1;
return system($0, $jobset->project->name, $jobset->name) == 0;
}
# For testing: evaluate a single jobset, then exit.
if (scalar @ARGV == 2) {
my $projectName = $ARGV[0];
my $jobsetName = $ARGV[1];