Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: reduce maximum PDF render processes from 4 to 3

myhloli431c16e47ba9
diff --git a/mineru/utils/pdf_image_tools.py b/mineru/utils/pdf_image_tools.py
index 37e5cd3a..76fd6e48 100644
--- a/mineru/utils/pdf_image_tools.py
+++ b/mineru/utils/pdf_image_tools.py
@@ -33,7 +33,7 @@ from concurrent.futures.process import BrokenProcessPool
DEFAULT_PDF_IMAGE_DPI = 200
# DEFAULT_PDF_IMAGE_DPI = 144
-MAX_PDF_RENDER_PROCESSES = 4
+MAX_PDF_RENDER_PROCESSES = 3
MIN_PAGES_PER_RENDER_PROCESS = 30
PDF_RENDER_TERMINATE_GRACE_PERIOD_SECONDS = 0.1
PDF_RENDER_KILL_JOIN_TIMEOUT_SECONDS = 0.1