Show what goal is waiting for a build slot

(cherry picked from commit ab786e22f1)
This commit is contained in:
Eelco Dolstra 2024-01-18 15:29:54 +01:00 committed by github-actions[bot]
parent dc09e6193b
commit 3cb2740721

View File

@ -238,7 +238,7 @@ void Worker::childTerminated(Goal * goal, bool wakeSleepers)
void Worker::waitForBuildSlot(GoalPtr goal)
{
debug("wait for build slot");
goal->trace("wait for build slot");
bool isSubstitutionGoal = goal->jobCategory() == JobCategory::Substitution;
if ((!isSubstitutionGoal && getNrLocalBuilds() < settings.maxBuildJobs) ||
(isSubstitutionGoal && getNrSubstitutions() < settings.maxSubstitutionJobs))