Jumbo v1.0.2 Jumbo.PendingJob

Structure representing a single job that is pending for free slot in the queue.

It has the following fields:

  • id: String containing job unique ID in the UUIDv4 format,
  • module: module that is being called when running the job,
  • args: list of arguments that are applied to module’s perform function when running the job,
  • failure_count: non-ngative integer telling how many times this job has failed in the past,
  • enqueued_at: time when job was moved to the pending queue, in format returned by :erlang.monotonic_time/0.

Summary

Types

t()
t() :: %Jumbo.PendingJob{args: [] | [any], enqueued_at: integer, failure_count: pos_integer, id: Jumbo.JobId.t, module: module}