diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-17 18:48:33 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-17 18:50:33 +0530 |
commit | e4550b63118765c0affd653234749a92fc51961f (patch) | |
tree | bbf3990cfcaa78dd97eb8d66d539b4e9caa0f308 /src/queue.c | |
parent | 37d813bf6be0570c6feab070002451bd6042b0d7 (diff) |
evanix: --max-build -> --max-builds
Diffstat (limited to 'src/queue.c')
-rw-r--r-- | src/queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue.c b/src/queue.c index b914d0f..dbccd66 100644 --- a/src/queue.c +++ b/src/queue.c @@ -102,7 +102,7 @@ int queue_pop(struct queue *queue, struct job **job) } pthread_mutex_lock(&queue->mutex); - if (evanix_opts.max_build) { + if (evanix_opts.max_builds) { ret = evanix_opts.solver(&j, &queue->jobs, queue->resources); if (ret < 0) goto out_mutex_unlock; @@ -242,7 +242,7 @@ int queue_thread_new(struct queue_thread **queue_thread, FILE *stream) goto out_free_qt; } qt->queue->htab = NULL; - qt->queue->resources = evanix_opts.max_build; + qt->queue->resources = evanix_opts.max_builds; qt->queue->jobid = NULL; qt->queue->state = Q_SEM_WAIT; ret = sem_init(&qt->queue->sem, 0, 0); |