fix: DOCLING_SERVE_SYNC_POLL_INTERVAL controls the synchronous polling time (#413)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-10-20 14:14:00 +02:00
committed by GitHub
parent 0427f71ef4
commit 0f274ab135
3 changed files with 3 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ class DoclingServeSettings(BaseSettings):
max_num_pages: int = sys.maxsize
max_file_size: int = sys.maxsize
sync_poll_interval: int = 2 # seconds
max_sync_wait: int = 120 # 2 minutes
cors_origins: list[str] = ["*"]