19
20
21
22
23
|
# File 'lib/chewy/strategy/shoryuken.rb', line 19
def perform(_sqs_msg, body)
options = body['options'] || {}
options[:refresh] = !Chewy.disable_refresh_async if Chewy.disable_refresh_async
body['type'].constantize.import!(body['ids'], options.deep_symbolize_keys!)
end
|