Sha256: 0cd63c251439d3a45e716596b39c0ae0f78dc0104b63fa591f7723be912bfcf8
Contents?: true
Size: 448 Bytes
Versions: 6
Compression:
Stored size: 448 Bytes
Contents
module Effective class AssetReplacerJob < ::ApplicationJob queue_as :default if defined?(Sidekiq) # The retry setting works. But none of these waits seem to. Still getting exponential backoff. sidekiq_options retry: 2, retry_in: 10, wait: 10 sidekiq_retry_in { |count, exception| 10 } end def perform(attachment, box) Effective::AssetReplacer.new.replace_attachment!(attachment, box) end end end
Version data entries
6 entries across 6 versions & 2 rubygems