Jumbo v1.0.2 Jumbo.RunningJob
Structure representing a single job that is currently running.
It has the following fields:
- id: String containing job unique ID in the UUIDv4 format,
- pid: PID of the process actually running the job,
- 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,
- started_at: time when job was started, in format returned by
:erlang.monotonic_time/0
, - failure_count: integer telling how many times this job has failed.
Summary
Types
t()
t() :: %Jumbo.RunningJob{args: [] | [any], failure_count: pos_integer, id: Jumbo.JobId.t, module: module, pid: pid, started_at: integer}