forked from lix-project/hydra
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:
parent
4ed877360b
commit
9602499c1c
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue