2012-03-06 23:17:42 -05:00
|
|
|
.hero-unit
|
2012-03-17 12:41:24 -04:00
|
|
|
h1 Sidekiq is #{current_status}
|
2012-03-07 23:22:21 -05:00
|
|
|
p Processed: #{processed}
|
|
|
|
p Failed: #{failed}
|
2012-04-24 23:12:43 -04:00
|
|
|
p Busy Workers: #{workers.size}
|
2012-05-25 23:21:42 -04:00
|
|
|
p Scheduled: #{zcard('schedule')}
|
|
|
|
p Retries Pending: #{zcard('retry')}
|
2012-05-22 10:16:08 -04:00
|
|
|
p Queue Backlog: #{backlog}
|
2012-03-05 23:53:14 -05:00
|
|
|
|
2012-06-08 20:20:11 -04:00
|
|
|
table class="table table-striped table-bordered"
|
|
|
|
tr
|
|
|
|
th Worker
|
|
|
|
th Queue
|
|
|
|
th Class
|
|
|
|
th Arguments
|
|
|
|
th Started
|
|
|
|
- workers.each do |(worker, msg)|
|
|
|
|
tr
|
|
|
|
td= worker
|
|
|
|
td= msg['queue']
|
|
|
|
td= msg['payload']['class']
|
|
|
|
td= msg['payload']['args'].inspect[0..100]
|
|
|
|
td== relative_time(Time.parse(msg['run_at']))
|
|
|
|
form action="#{root_path}reset" method="post"
|
|
|
|
button.btn type="submit" title="If you kill -9 Sidekiq, this table can fill up with old data." Clear worker list
|