module Sidekiq::DynamicThrottle::Throttler::ClassMethods
Public Instance Methods
sidekiq_throttle(queue: queue, throttler: nil, **opts)
click to toggle source
# File lib/sidekiq-dynamic-throttle/throttler.rb, line 3 def sidekiq_throttle(queue: queue, throttler: nil, **opts) throttler ||= self Sidekiq::DynamicThrottle.register_throttle throttler, queue end