extractor: wait up to 15min for claude-agent-service to free lock
Real UK payslip extractions routinely take 5-10min end-to-end (Haiku processing 100-300KB base64'd PDFs). With 10 retries × 5s = 50s we'd abort while another extraction was still in-flight. Bump to 90 retries × 10s = 900s wait — enough to cover the server-side timeout_seconds=600 plus some slack. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7a32885d26
commit
693ec4a5d4
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ EXTRACTION_PROMPT = (
|
|||
|
||||
POLL_INTERVAL_SECONDS = 3
|
||||
MAX_POLL_SECONDS = 600
|
||||
BUSY_RETRY_DELAY_SECONDS = 5
|
||||
MAX_BUSY_RETRIES = 10
|
||||
BUSY_RETRY_DELAY_SECONDS = 10
|
||||
MAX_BUSY_RETRIES = 90
|
||||
DEFAULT_MAX_BUDGET_USD = 1.0
|
||||
DEFAULT_TIMEOUT_SECONDS = 600
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue