Sha256: 8f50e92c99350471941b52bf7895119defd780dd7645dc458e47a1914edfdbbb

Contents?: true

Size: 311 Bytes

Versions: 9

Compression:

Stored size: 311 Bytes

Contents

class Sidekiq::Manager
  module InitLimitFetch
    def initialize(options={})
      options[:fetch] = Sidekiq::LimitFetch
      super
    end

    def start
      Sidekiq::LimitFetch::Queues.start options
      Sidekiq::LimitFetch::Global::Monitor.start!
      super
    end
  end

  prepend InitLimitFetch
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
sidekiq-limit_fetch-4.1.0 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-4.0.0 lib/sidekiq/extensions/manager.rb
rcgt-sidekiq-limit_fetch-3.4.1 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.4.0 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.3.1 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.3.0 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.2.1 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.1.0 lib/sidekiq/extensions/manager.rb
sidekiq-limit_fetch-3.0.1 lib/sidekiq/extensions/manager.rb