Skip to content

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

feat: extend task result timeout to 3600 seconds in api_client

myhloliad4bde7df81e
diff --git a/mineru/cli/api_client.py b/mineru/cli/api_client.py
index ef6de2c0..eda9e9ee 100644
--- a/mineru/cli/api_client.py
+++ b/mineru/cli/api_client.py
@@ -28,7 +28,7 @@ from mineru.cli.api_protocol import (
HEALTH_ENDPOINT = "/health"
TASKS_ENDPOINT = "/tasks"
TASK_STATUS_POLL_INTERVAL_SECONDS = 1.0
-TASK_RESULT_TIMEOUT_SECONDS = 600
+TASK_RESULT_TIMEOUT_SECONDS = 3600
LOCAL_API_STARTUP_TIMEOUT_SECONDS = 30
LOCAL_API_CLEANUP_RETRIES = 8
LOCAL_API_CLEANUP_RETRY_INTERVAL_SECONDS = 0.25