Module: SolidQueueDashboard::Process
- Defined in:
- lib/solid_queue_dashboard/process.rb
Constant Summary collapse
- SUPERVISOR =
Constants
"Supervisor"- DISPATCHER =
"Dispatcher"- WORKER =
"Worker"- SCHEDULER =
"Scheduler"- KINDS =
[ SUPERVISOR, DISPATCHER, WORKER, SCHEDULER ]
- KIND_COLORS =
{ SUPERVISOR => "yellow", DISPATCHER => "green", WORKER => "sky", SCHEDULER => "purple" }
- HEARTBEAT_DEAD_THRESHOLD =
3.minutes
Class Method Summary collapse
Class Method Details
.kind_color(kind) ⇒ Object
20 21 22 |
# File 'lib/solid_queue_dashboard/process.rb', line 20 def self.kind_color(kind) KIND_COLORS[kind] || "zinc" end |