Merge pull request #85 from peti/dont-clutter-system-log-with-debug-messages

hydra-queue-runner: don't clutter the system log with debug message
This commit is contained in:
Rob Vermaas 2013-05-10 14:52:13 -07:00
commit 43785dfca9

View file

@ -103,9 +103,11 @@ sub checkBuilds {
{ join => ['project'], order_by => ["priority DESC", "timestamp"],
rows => $extraAllowed });
print "system type `", $system->system,
"': $nrActive active, $max allowed, ",
"starting ", scalar(@builds), " builds\n";
if (scalar(@builds) > 0) {
print "system type `", $system->system,
"': $nrActive active, $max allowed, ",
"starting ", scalar(@builds), " builds\n";
}
foreach my $build (@builds) {
# Find a dependency of $build that has no queued