Show what goal is waiting for a build slot
This commit is contained in:
parent
e652322a61
commit
ab786e22f1
|
@ -251,7 +251,7 @@ void Worker::childTerminated(Goal * goal, bool wakeSleepers)
|
||||||
|
|
||||||
void Worker::waitForBuildSlot(GoalPtr goal)
|
void Worker::waitForBuildSlot(GoalPtr goal)
|
||||||
{
|
{
|
||||||
debug("wait for build slot");
|
goal->trace("wait for build slot");
|
||||||
bool isSubstitutionGoal = goal->jobCategory() == JobCategory::Substitution;
|
bool isSubstitutionGoal = goal->jobCategory() == JobCategory::Substitution;
|
||||||
if ((!isSubstitutionGoal && getNrLocalBuilds() < settings.maxBuildJobs) ||
|
if ((!isSubstitutionGoal && getNrLocalBuilds() < settings.maxBuildJobs) ||
|
||||||
(isSubstitutionGoal && getNrSubstitutions() < settings.maxSubstitutionJobs))
|
(isSubstitutionGoal && getNrSubstitutions() < settings.maxSubstitutionJobs))
|
||||||
|
|
Loading…
Reference in a new issue