forked from lix-project/hydra
hydra-queue-runner: don't clutter the system log with debug message
Avoid the frequently printed hydra-queue-runner[10293]: system type `x86_64-linux': 2 active, 2 allowed, starting 0 builds message. That information is only interesting when some build are actually started.
This commit is contained in:
parent
9f027b22b1
commit
ccbe75781b
|
@ -111,9 +111,11 @@ sub checkBuilds {
|
||||||
{ join => ['project'], order_by => ["priority DESC", "timestamp"],
|
{ join => ['project'], order_by => ["priority DESC", "timestamp"],
|
||||||
rows => $extraAllowed });
|
rows => $extraAllowed });
|
||||||
|
|
||||||
|
if (scalar(@builds) > 0) {
|
||||||
print "system type `", $system->system,
|
print "system type `", $system->system,
|
||||||
"': $nrActive active, $max allowed, ",
|
"': $nrActive active, $max allowed, ",
|
||||||
"starting ", scalar(@builds), " builds\n";
|
"starting ", scalar(@builds), " builds\n";
|
||||||
|
}
|
||||||
|
|
||||||
foreach my $build (@builds) {
|
foreach my $build (@builds) {
|
||||||
my $depbuild = findBuildDependencyInQueue($build);
|
my $depbuild = findBuildDependencyInQueue($build);
|
||||||
|
|
Loading…
Reference in a new issue