Jobs.Retry
go
func (*JobClient) Retry(
ctx context.Context,
jobID uuid.UUID,
) (int64, error)Retry a job. All failed tasks will become queued again, and queued tasks will be picked up by runners again.
Parameters
jobID uuid.UUID The id of the job to retry
Returns
The number of tasks that were rescheduled.
Errors
not_found job not found The specified job does not exist.