From c2826744b35ead1c6d80997d1b9e1e73bfd2536b Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Tue, 24 Apr 2012 16:32:09 -0700 Subject: [PATCH] Add stopping to procline --- lib/sidekiq/manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/manager.rb b/lib/sidekiq/manager.rb index 22ff3328..1892c316 100644 --- a/lib/sidekiq/manager.rb +++ b/lib/sidekiq/manager.rb @@ -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