Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 11, 2024
1 parent 61ad022 commit e3da79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltool/executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def run_jobs(
logger: logging.Logger,
runtime_context: RuntimeContext,
) -> None:
self.taskqueue: TaskQueue = TaskQueue(threading.Lock(), self.max_cores)
self.taskqueue: TaskQueue = TaskQueue(threading.Lock(), int(math.ceil(self.max_cores)))
try:
jobiter = process.job(job_order_object, self.output_callback, runtime_context)

Expand Down

0 comments on commit e3da79f

Please sign in to comment.