feat: extend task result timeout to 3600 seconds in api_client

This commit is contained in:
myhloli
2026-03-27 00:05:47 +08:00
parent 12aebcfe17
commit ad4bde7df8

View File

@@ -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