Verk.RetrySet.add

You're seeing just the function add, go back to Verk.RetrySet module for more information.
Link to this function

add(job, failed_at, redis \\ Verk.Redis)

View Source

Specs

add(
  %Verk.Job{
    args: term(),
    class: term(),
    created_at: term(),
    enqueued_at: term(),
    error_backtrace: term(),
    error_message: term(),
    failed_at: term(),
    finished_at: term(),
    jid: term(),
    max_retry_count: term(),
    original_json: term(),
    queue: term(),
    retried_at: term(),
    retry_count: term()
  },
  integer(),
  GenServer.server()
) :: :ok | {:error, Redix.Error.t()}

Adds a job to the retry set ordering by timestamp.

Optionally a redis connection can be specified.