mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Show what goal is waiting for a build slot
(cherry picked from commit ab786e22f1
)
This commit is contained in:
parent
dc09e6193b
commit
3cb2740721
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user