From 9602499c1cf204a658f2e66caaba14f253930fe2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 21 Sep 2013 15:49:27 +0000 Subject: [PATCH] hydra-evaluator: Do the actual work in a subprocess This should get rid of the slow memory leaks exhibited by hydra-evaluator. --- src/script/hydra-evaluator | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index 3d76589b..234c974e 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -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];