Sha256: 1717be0b52701ebe424c77d6a5d5df2f95854a38daf204a3509562d8cc2879e8

Contents?: true

Size: 429 Bytes

Versions: 7

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

require "sidekiq"

require_relative "failed_batch_remove"

module Sidekiq
  module Belt
    module Pro
      module Files
        def self.use!(options = [:all])
          return unless Sidekiq.pro?

          all = options.include?(:all)

          Sidekiq::Belt::Pro::FailedBatchRemove.use! if all || options.include?(:failed_batch_remove)

          true
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sidekiq-belt-0.3.7 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.6 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.5 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.4 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.2 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.1 lib/sidekiq/belt/pro/files.rb
sidekiq-belt-0.3.0 lib/sidekiq/belt/pro/files.rb