Class: ElasticsearchReindex
- Inherits:
-
Object
- Object
- ElasticsearchReindex
- Defined in:
- app/workers/elasticsearch_reindex.rb
Class Method Summary collapse
Class Method Details
.perform_async(*args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/workers/elasticsearch_reindex.rb', line 4 def self.perform_async(*args) if ::Rails.application.config.x.goodjob_elasticsearch_enabled == true ::GoodJob::ElasticsearchReindex.perform_later(*args) else ::Sidekiq::ElasticsearchReindex.perform_async(*args) end end |