fix: remove gc.collect from task status poll (#529)

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer
2026-03-04 14:29:40 +01:00
committed by GitHub
parent 4f8eb21949
commit b1b4347b10

View File

@@ -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(