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

Add stopping to procline

This commit is contained in:
Mike Perham 2012-04-24 16:32:09 -07:00
parent 7ec820e9cc
commit c2826744b3

View file

@ -155,7 +155,7 @@ module Sidekiq
end
def procline
$0 = "sidekiq #{Sidekiq::VERSION} [#{@busy.size} of #{@count} busy]"
$0 = "sidekiq #{Sidekiq::VERSION} [#{@busy.size} of #{@count} busy]#{stopped? ? ' stopping' : ''}"
after(5) { procline }
end
end