Module: Sidekiq::Queue::UniqueExtension
- Included in:
- Sidekiq::Queue
- Defined in:
- lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
80 81 82 83 84 85 86 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 80 def self.included(base) base.class_eval do include SidekiqUniqueJobs::Unlockable alias_method :clear_orig, :clear alias_method :clear, :clear_ext end end |
Instance Method Details
#clear_ext ⇒ Object
88 89 90 91 |
# File 'lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb', line 88 def clear_ext each(&:delete) clear_orig end |