Class: Rpush::Daemon::ProcTitle
- Inherits:
-
Object
- Object
- Rpush::Daemon::ProcTitle
- Defined in:
- lib/rpush/daemon/proc_title.rb
Class Method Summary collapse
Class Method Details
.proc_title ⇒ Object
9 10 11 12 13 14 |
# File 'lib/rpush/daemon/proc_title.rb', line 9 def self.proc_title total_dispatchers = AppRunner.total_dispatchers dispatchers_str = total_dispatchers == 1 ? 'dispatcher' : 'dispatchers' total_queued = AppRunner.total_queued format("rpush | %d queued | %d %s", total_queued, total_dispatchers, dispatchers_str) end |