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:
parent
5b409e743c
commit
e5b9f5e5d9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue