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