Verk.RetrySet

This module interacts with the jobs on the retry set

Summary

clear()

Clears the retry set

count()

Counts how many jobs are inside the retry set

delete_job(original_json)

Deletes the job from the retry set

range(start \\ 0, stop \\ -1)

Lists jobs from start to stop

Functions

clear()

Specs:

  • clear :: boolean

Clears the retry set

count()

Specs:

  • count :: integer

Counts how many jobs are inside the retry set

delete_job(original_json)

Specs:

  • delete_job(%Verk.Job{args: term, class: term, enqueued_at: term, error_backtrace: term, error_message: term, failed_at: term, finished_at: term, jid: term, original_json: term, queue: term, retried_at: term, retry_count: term} | binary) :: boolean

Deletes the job from the retry set

range(start \\ 0, stop \\ -1)

Specs:

  • range(integer, integer) :: [Verk.Job.T]

Lists jobs from start to stop