Include rendering status in runs list
This commit is contained in:
@@ -331,9 +331,9 @@ class RunService:
|
|||||||
if any(r.get("run_id") == run_id for r in completed_runs):
|
if any(r.get("run_id") == run_id for r in completed_runs):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Get live status - include pending, running, and failed runs
|
# Get live status - include pending, running, rendering, and failed runs
|
||||||
run = await self.get_run(run_id)
|
run = await self.get_run(run_id)
|
||||||
if run and run.get("status") in ("pending", "running", "failed"):
|
if run and run.get("status") in ("pending", "running", "rendering", "failed"):
|
||||||
pending.append(run)
|
pending.append(run)
|
||||||
|
|
||||||
# Combine and sort
|
# Combine and sort
|
||||||
|
|||||||
Reference in New Issue
Block a user