Skip to content

Commit

Permalink
jobs/job_cost: count the job itself
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Jul 11, 2024
1 parent 83932db commit 8d5bd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ int job_parents_list_insert(struct job *job, struct job *parent)

int job_cost(struct job *job)
{
int32_t builds = 0;
int32_t builds = 1;

for (size_t i = 0; i < job->deps_filled; i++) {
if (job->deps[i]->insubstituters)
Expand Down

0 comments on commit 8d5bd8b

Please sign in to comment.