Sha256: 0a8bede3f9c65a839b7aff22c8d76bfa3c6f5afe793b696e705f3ef55636b5fd

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

module Sidekiq::DynamicThrottle::Throttler
  module ClassMethods
    def sidekiq_throttle_queue(*queues)
      Sidekiq::DynamicThrottle.register_throttle self, queues
    end
  end

  def self.included(base)
    base.extend ClassMethods
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-dynamic-throttle-0.1.1 lib/sidekiq-dynamic-throttle/throttler.rb