Skip to content

Commit d485939

Browse files
committed
count more statuses as running
1 parent 68a0f13 commit d485939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo/extra/job_management/_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def _job_update_loop(
543543

544544
if len(not_started) > 0:
545545
# Check number of jobs running at each backend
546-
running = job_db.get_by_status(statuses=["running"])
546+
running = job_db.get_by_status(statuses=["queued", "queued_for_start", "running"])
547547
stats["job_db get_by_status"] += 1
548548
running_per_backend = running.groupby("backend_name").size().to_dict()
549549
queued_per_backend = queued.groupby("backend_name").size().to_dict()

0 commit comments

Comments
 (0)