Skip to content

Commit 83a49f1

Browse files
authored
Merge pull request #2 from kmavrommatis/kmavrommatis-patch-1
Update executors.py
2 parents 6d8c2a4 + 2b587cc commit 83a49f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/executors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def run_jobs(
438438
logger: logging.Logger,
439439
runtime_context: RuntimeContext,
440440
) -> None:
441-
self.taskqueue: TaskQueue = TaskQueue(threading.Lock(), psutil.cpu_count())
441+
self.taskqueue: TaskQueue = TaskQueue(threading.Lock(), self.max_cores )
442442
try:
443443
jobiter = process.job(job_order_object, self.output_callback, runtime_context)
444444

0 commit comments

Comments
 (0)