Module: Delayed::Backend::Redis::Job::Keys
- Defined in:
- lib/delayed/backend/redis/job.rb
Overview
these key mappings are duplicated in the redis lua code, in include.lua
Constant Summary collapse
- RUNNING_JOBS =
"running_jobs"
- FAILED_JOBS =
"failed_jobs"
- JOB =
proc { |id| "job/#{id}" }
- FAILED_JOB =
proc { |id| "failed_job/#{id}" }
- QUEUE =
proc { |name| "queue/#{name}" }
- FUTURE_QUEUE =
proc { |name| "#{QUEUE[name]}/future" }
- STRAND =
proc { |strand| strand ? "strand/#{strand}" : nil }
- TAG_COUNTS =
proc { |flavor| "tag_counts/#{flavor}" }
- TAG =
proc { |tag| "tag/#{tag}" }