Class: Chewy::Strategy::Sidekiq::Worker
- Inherits:
-
Object
- Object
- Chewy::Strategy::Sidekiq::Worker
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/chewy/strategy/sidekiq.rb
Instance Method Summary collapse
Instance Method Details
#perform(type, ids, options = {}) ⇒ Object
[View source]
16 17 18 19 |
# File 'lib/chewy/strategy/sidekiq.rb', line 16 def perform(type, ids, = {}) [:refresh] = !Chewy.disable_refresh_async if Chewy.disable_refresh_async type.constantize.import!(ids, **) end |