Support pausing jobs #104313
@ -455,6 +455,7 @@ func (sm *StateMachine) pauseTasks(
|
||||
api.TaskStatusActive,
|
||||
api.TaskStatusQueued,
|
||||
api.TaskStatusCanceled,
|
||||
api.TaskStatusSoftFailed,
|
||||
}
|
||||
err := sm.persist.UpdateJobsTaskStatusesConditional(
|
||||
ctx, job, taskStatusesToPause, api.TaskStatusPaused,
|
||||
|
Loading…
Reference in New Issue
Block a user