diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-11 15:41:43 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-11 15:41:43 +0530 |
commit | 8d5bd8ba755dc15d5b8311da85a5ad78b5a53a77 (patch) | |
tree | 4f0981ed832fbe84d4363790afcf6a59a524b0bc | |
parent | 83932dbff7d5b85283c9fef01bfaed4b6fec318f (diff) |
jobs/job_cost: count the job itself
-rw-r--r-- | src/jobs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |