Class: Chewy::Strategy::Shoryuken::Worker
- Includes:
- Shoryuken::Worker
- Defined in:
- lib/chewy/strategy/shoryuken.rb
Instance Method Summary collapse
Instance Method Details
#perform(_sqs_msg, body) ⇒ Object
19 20 21 22 23 |
# File 'lib/chewy/strategy/shoryuken.rb', line 19 def perform(_sqs_msg, body) = body['options'] || {} [:refresh] = !Chewy.disable_refresh_async if Chewy.disable_refresh_async body['type'].constantize.import!(body['ids'], .deep_symbolize_keys!) end |