mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
update comments from blpop to brpop
This commit is contained in:
parent
8dae3840a3
commit
426caabe55
1 changed files with 3 additions and 3 deletions
|
@ -140,10 +140,10 @@ module Sidekiq
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creating the Redis#blpop command takes into account any
|
# Creating the Redis#brpop command takes into account any
|
||||||
# configured queue weights. By default Redis#blpop returns
|
# configured queue weights. By default Redis#brpop returns
|
||||||
# data from the first queue that has pending elements. We
|
# data from the first queue that has pending elements. We
|
||||||
# recreate the queue command each time we invoke Redis#blpop
|
# recreate the queue command each time we invoke Redis#brpop
|
||||||
# to honor weights and avoid queue starvation.
|
# to honor weights and avoid queue starvation.
|
||||||
def queues_cmd
|
def queues_cmd
|
||||||
queues = @strictly_ordered_queues ? @unique_queues.dup : @queues.shuffle.uniq
|
queues = @strictly_ordered_queues ? @unique_queues.dup : @queues.shuffle.uniq
|
||||||
|
|
Loading…
Reference in a new issue