Sha256: ffa1efb309b97f24f379cc35fc1eeafb8c5252aa4ab0934aafeaefc9737ef9ab
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
module TireAsyncIndex module Workers class Sidekiq < UpdateIndex include ::Sidekiq::Worker sidekiq_options queue: TireAsyncIndex.queue def self.run(action_type, class_name, id) TireAsyncIndex::Workers::Sidekiq .perform_async(action_type, class_name, id) end def perform(action_type, class_name, id) process(action_type, class_name, id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tire_async_index-0.3.0 | lib/tire_async_index/workers/sidekiq.rb |