Oban.retry_job
You're seeing just the function
retry_job
, go back to Oban module for more information.
Specs
retry_job(name :: atom(), job_id :: pos_integer()) :: :ok
Sets a job as available
, adding attempts if already maxed out. If the job is currently
available
, executing
or scheduled
it will be ignored. The job is scheduled for immediate
execution.
Example
Retry a discarded job with the id 1
:
Oban.retry_job(1)
:ok