Skip to content

Jobs.Retry

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.

jobID uuid.UUID

The id of the job to retry

The number of tasks that were rescheduled.

not_found job not found

The specified job does not exist.