Permalink
Browse files

Whoops

  • Loading branch information...
1 parent 6d13171 commit 152c392198b62bf3b1177169e11792ddaa815b39 @shlevy shlevy committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 152c392

Please sign in to comment.