class SidekiqUniqueJobs::Lock::WhileExecuting
def initialize(item, callback, redis_pool = nil)
-
redis_pool
(Sidekiq::RedisConnection, ConnectionPool
) -- the redis connection -
callback
(Proc
) -- callback to call after unlock -
item
(Hash
) -- the Sidekiq job hash
def initialize(item, callback, redis_pool = nil) super(item, callback, redis_pool) append_unique_key_suffix end