Class: SimpleMutex::SidekiqSupport::BatchCleaner
- Inherits:
-
BaseCleaner
- Object
- BaseCleaner
- SimpleMutex::SidekiqSupport::BatchCleaner
- Defined in:
- lib/simple_mutex/sidekiq_support/batch_cleaner.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BatchCleaner
constructor
A new instance of BatchCleaner.
Methods inherited from BaseCleaner
Constructor Details
#initialize ⇒ BatchCleaner
Returns a new instance of BatchCleaner.
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 |