Skip to content

Commit

Permalink
Show what goal is waiting for a build slot
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jan 18, 2024
1 parent e652322 commit ab786e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build/worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,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))
Expand Down

0 comments on commit ab786e2

Please sign in to comment.