module Sidekiq::Throttled::Patches::BasicFetch
Public Class Methods
Source
# File lib/sidekiq/throttled/patches/basic_fetch.rb, line 12 def self.prepended(base) base.prepend(ThrottledRetriever) end
Private Instance Methods
Source
# File lib/sidekiq/throttled/patches/basic_fetch.rb, line 23 def queues_cmd throttled_queues = Throttled.cooldown&.queues return super if throttled_queues.nil? || throttled_queues.empty? super - throttled_queues end
Returns list of queues to try to fetch jobs from.
@note It may return an empty array. @param [Array<String>] queues @return [Array<String>]
Calls superclass method