Class: SimpleMutex::SidekiqSupport::BatchCleaner
- Inherits:
-
BaseCleaner
- Object
- BaseCleaner
- SimpleMutex::SidekiqSupport::BatchCleaner
show all
- Defined in:
- lib/simple_mutex/sidekiq_support/batch_cleaner.rb
Constant Summary
Constants inherited
from BaseCleaner
BaseCleaner::MAX_DEL_ATTEMPTS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseCleaner
#unlock
Constructor Details
12
13
14
15
|
# File 'lib/simple_mutex/sidekiq_support/batch_cleaner.rb', line 12
def initialize
::SimpleMutex.sidekiq_pro_check!
super
end
|
Class Method Details
.unlock_dead_batches ⇒ Object
7
8
9
|
# File 'lib/simple_mutex/sidekiq_support/batch_cleaner.rb', line 7
def unlock_dead_batches
new.unlock
end
|