From ad4bde7df81eab103eb484c25bbc74709d7e3a32 Mon Sep 17 00:00:00 2001 From: myhloli Date: Fri, 27 Mar 2026 00:05:47 +0800 Subject: [PATCH] feat: extend task result timeout to 3600 seconds in api_client --- mineru/cli/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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