Module: Sidekiq::UnlockMethod

Defined in:
lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb

Instance Method Summary collapse

Instance Method Details

#unlock(item) ⇒ Object



5
6
7
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 5

def unlock(item)
  SidekiqUniqueJobs::Unlockable.unlock(item['unique_digest'.freeze], item['jid'.freeze])
end