From 152c392198b62bf3b1177169e11792ddaa815b39 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 7 Mar 2013 10:52:31 -0500 Subject: [PATCH] Whoops --- src/script/hydra-queue-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra-queue-runner b/src/script/hydra-queue-runner index 54bce09c..49164007 100755 --- a/src/script/hydra-queue-runner +++ b/src/script/hydra-queue-runner @@ -100,7 +100,7 @@ sub checkBuilds { {finished => 0, busy => 1, system => $system->system})->count; (my $systemTypeInfo) = $db->resultset('SystemTypes')->search({system => $system->system}); - my $max = defined $systemTypeInfo ? $systemTypeInfo->maxconcurrent : $maxConcurrent{$system} // 2; + my $max = defined $systemTypeInfo ? $systemTypeInfo->maxconcurrent : $maxConcurrent{$system->system} // 2; my $extraAllowed = $max - $nrActive; $extraAllowed = 0 if $extraAllowed < 0;