diff options
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); |