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

Preserve behaviour of fetch_stats! returning stats. (#5001)

This commit is contained in:
Michael Hauser-Raspe 2021-09-27 16:43:15 +01:00 committed by GitHub
parent e9d16dbdb8
commit 051555e55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,7 @@ module Sidekiq
@stats[:workers_size] = workers_size @stats[:workers_size] = workers_size
@stats[:enqueued] = enqueued @stats[:enqueued] = enqueued
@stats
end end
def fetch_stats! def fetch_stats!