mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add column to Workers table describing when a job started in relative time
This commit is contained in:
parent
76b17f0ef5
commit
95165e1e6f
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
th Queue
|
||||
th Class
|
||||
th Arguments
|
||||
th Started
|
||||
- workers.each do |(worker, msg)|
|
||||
tr
|
||||
td= worker
|
||||
|
@ -29,6 +30,7 @@
|
|||
td= msg['queue']
|
||||
td= msg['payload']['class']
|
||||
td= msg['payload']['args'].inspect[0..100]
|
||||
td== relative_time(Time.parse(msg['run_at']))
|
||||
- else
|
||||
td colspan=3 Idle
|
||||
form action="#{root_path}reset" method="post"
|
||||
|
|
Loading…
Add table
Reference in a new issue