job

Set the remaining retries of a job

Changed on

Sets the remaining retries of an active or failed job and when it is handed out next. An absent retryAt makes a job waiting out a backoff deliverable at once. The incident of a failed job stays open: resolving it then keeps the retries set here instead of restoring the retries of the task definition, and a retryAt still ahead keeps the job from its workers until then. To set the retries of a failed job and resolve its incident in one request, give them to POST /v1/incidents/{incidentKey}/resolve instead.

post/jobs/{jobKey}/retries

Request

  • Base URL: http://localhost:8080/v1
  • URL: http://localhost:8080/v1/jobs/{jobKey}/retries
  • Auth: none declared

Path parameters

jobKeyinteger required

Request body

retriesinteger required

Retries the job has from now on, at most jobs.maxRetries.

retryAtstring date-time

When the job is handed out next. Absent, or in the past, means at once; later than now plus jobs.maxRetryBackoff is refused.

Response

Retries updated

Changes