Sha256: 76b07c810edfe916998d1a8d5f8c1a0f7337148b7cb4c586e0a10ddede740441
Contents?: true
Size: 344 Bytes
Versions: 62
Compression:
Stored size: 344 Bytes
Contents
module Workarea class BustSkuCache include Sidekiq::Worker include Sidekiq::CallbacksWorker sidekiq_options( enqueue_on: { Inventory::Sku => :save, Pricing::Sku => :save }, queue: 'low', retry: false ) def perform(sku) Catalog::Product.find_for_update_by_sku(sku).each(&:touch) end end end
Version data entries
62 entries across 62 versions & 1 rubygems