mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Show what goal is waiting for a build slot
(cherry picked from commit ab786e22f1
)
This commit is contained in:
parent
dc09e6193b
commit
3cb2740721
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,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…
Add table
Add a link
Reference in a new issue