A run that starts clears its 'Waiting for a worker' reason
This commit is contained in:
@@ -1430,6 +1430,8 @@ class RunService:
|
|||||||
.where(col(Run.id) == run_id, col(Run.status) == "queued")
|
.where(col(Run.id) == run_id, col(Run.status) == "queued")
|
||||||
.values(
|
.values(
|
||||||
status="running",
|
status="running",
|
||||||
|
# A "Waiting for a worker" from the queue no longer holds.
|
||||||
|
status_reason="",
|
||||||
started_at=now,
|
started_at=now,
|
||||||
lease_at=now,
|
lease_at=now,
|
||||||
engine=self.engine_name,
|
engine=self.engine_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user