Class: Sidekiq::Single::Reaper
- Inherits:
-
Object
- Object
- Sidekiq::Single::Reaper
- Defined in:
- lib/sidekiq/single/reaper.rb
Instance Method Summary collapse
Instance Method Details
#call(item) ⇒ Object
3 4 5 6 7 |
# File 'lib/sidekiq/single/reaper.rb', line 3 def call(item, *) if item.key?(Lock::DIGEST_KEY) Lock.new(item).release end end |