mirror of
https://github.com/docling-project/docling-serve.git
synced 2026-04-26 19:26:05 +00:00
fix: remove gc.collect from task status poll (#529)
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
@@ -913,7 +913,6 @@ def create_app(): # noqa: C901
|
||||
try:
|
||||
task = await orchestrator.task_status(task_id=task_id, wait=wait)
|
||||
task_queue_position = await orchestrator.get_queue_position(task_id=task_id)
|
||||
gc.collect()
|
||||
except TaskNotFoundError:
|
||||
raise HTTPException(status_code=404, detail="Task not found.")
|
||||
return TaskStatusResponse(
|
||||
|
||||
Reference in New Issue
Block a user