class SidekiqUniqueJobs::Locksmith
def locked?(conn = nil)
-
(true, false)
- true when the :LOCKED hash contains the job_id
def locked?(conn = nil) return taken?(conn) if conn redis { |rcon| taken?(rcon) } end
(true, false)
- true when the :LOCKED hash contains the job_id
def locked?(conn = nil) return taken?(conn) if conn redis { |rcon| taken?(rcon) } end