Clarify messageabout number of workers

This commit is contained in:
James R. Barlow
2026-01-07 16:41:18 -08:00
parent b2b6a7c4b1
commit 0e946a7498
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ def exec_concurrent(context: PdfContext, executor: Executor) -> Sequence[str]:
jobs = options.jobs or available_cpu_count()
max_workers = min(len(context.pdfinfo), jobs)
if max_workers > 1:
log.info("Start processing %d pages concurrently", max_workers)
log.info("Starting processing with %d workers concurrently", max_workers)
sidecars: list[Path | None] = [None] * len(context.pdfinfo)
ocrgraft = OcrGrafter(context)
+1 -1
View File
@@ -65,7 +65,7 @@ def exec_pdf_to_hocr(context: PdfContext, executor: Executor) -> None:
jobs = options.jobs or available_cpu_count()
max_workers = min(len(context.pdfinfo), jobs)
if max_workers > 1:
log.info("Start processing %d pages concurrently", max_workers)
log.info("Starting processing with %d workers concurrently", max_workers)
executor(
use_threads=options.use_threads,