Fix callback worker
This commit is contained in:
@@ -25,6 +25,7 @@ class Settings:
|
||||
max_kie_attempts: int = int(os.getenv("IDP_MAX_KIE_ATTEMPTS", "3"))
|
||||
run_worker: bool = os.getenv("IDP_RUN_WORKER", "0").lower() in ("1", "true", "yes")
|
||||
ocr_workers: int = int(os.getenv("IDP_OCR_WORKERS", "64"))
|
||||
callback_workers: int = int(os.getenv("IDP_CALLBACK_WORKERS", "4"))
|
||||
max_queued_jobs: int = int(os.getenv("IDP_MAX_QUEUED_JOBS", "1000"))
|
||||
max_pdf_bytes: int = int(os.getenv("IDP_MAX_PDF_BYTES", str(1024**3)))
|
||||
max_pages: int = int(os.getenv("IDP_MAX_PAGES", "5000"))
|
||||
|
||||
Reference in New Issue
Block a user