diff --git a/payslip_ingest/extractor.py b/payslip_ingest/extractor.py index ef74b5a..1ced592 100644 --- a/payslip_ingest/extractor.py +++ b/payslip_ingest/extractor.py @@ -39,12 +39,12 @@ EXTRACTION_PROMPT = ( "- All money in GBP unless the payslip is denominated otherwise.\n" '- If a field\'s value is ambiguous, pick the value from the "this period" column, not YTD.') -POLL_INTERVAL_SECONDS = 2 -MAX_POLL_SECONDS = 120 +POLL_INTERVAL_SECONDS = 3 +MAX_POLL_SECONDS = 600 BUSY_RETRY_DELAY_SECONDS = 5 MAX_BUSY_RETRIES = 10 DEFAULT_MAX_BUDGET_USD = 1.0 -DEFAULT_TIMEOUT_SECONDS = 300 +DEFAULT_TIMEOUT_SECONDS = 600 TERMINAL_STATUSES = {"completed", "failed", "timeout", "error"}