diff options
Diffstat (limited to 'src/queue.c')
-rw-r--r-- | src/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.c b/src/queue.c index 2474a39..e74edf2 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_builds) { + if (evanix_opts.max_builds || evanix_opts.max_time) { ret = evanix_opts.solver(&j, &queue->jobs, queue->resources); if (ret < 0) goto out_mutex_unlock; |