1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Add old queues method back, #2142

This commit is contained in:
Mike Perham 2015-01-28 08:47:09 -08:00
parent 5b409e743c
commit e5b9f5e5d9

View file

@ -43,6 +43,10 @@ module Sidekiq
stat :default_queue_latency
end
def queues
Sidekiq::Stats::Queues.new.lengths
end
def fetch_stats!
pipe1_res = Sidekiq.redis do |conn|
conn.pipelined do