Exq.Redis.JobQueue (exq v0.19.0) View Source
The JobQueue module is the main abstraction of a job queue on top of Redis.
It provides functionality for:
- Storing jobs in Redis
- Fetching the next job(s) to be executed (and storing a backup of these).
- Scheduling future jobs in Redis
- Fetching scheduling jobs and moving them to current job list
- Retrying or failing a job
- Re-hydrating jobs from a backup queue
Link to this section Summary
Link to this section Functions
Dequeue jobs for available queues
Link to this function
do_enqueue_job_at(redis, namespace, job, job_serialized, jid, time, scheduled_queue, options \\ [])
View Source
Link to this function
enqueue_in(redis, namespace, queue, offset, worker, args, options)
View SourceFind a current job by job id (but do not pop it)
Link to this function
remove_job_from_backup(redis, namespace, node_id, queue, job_serialized)
View Source
Link to this function