README.md in elasticsearch-model-7.0.0 vs README.md in elasticsearch-model-7.1.0.pre
- old
+ new
@@ -531,10 +531,10 @@
sidekiq_options queue: 'elasticsearch', retry: false
Logger = Sidekiq.logger.level == Logger::DEBUG ? Sidekiq.logger : nil
Client = Elasticsearch::Client.new host: 'localhost:9200', logger: Logger
- def perform_async(operation, record_id)
+ def perform(operation, record_id)
logger.debug [operation, "ID: #{record_id}"]
case operation.to_s
when /index/
record = Article.find(record_id)