1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/retry.slim

41 lines
885 B
Text
Raw Normal View History

2012-03-29 13:48:06 -04:00
header
h1 Retry Job #{@score}
- retries_with_score(@score).each do |(msg, score)|
table class="table table-striped table-bordered"
tbody
tr
th Queue
2012-03-29 13:48:06 -04:00
td
a href="queues/#{msg['queue']}" #{msg['queue']}
tr
th Job Class
2012-03-29 13:48:06 -04:00
td
code= msg['class']
tr
th Job Arguments
2012-03-29 13:48:06 -04:00
td
code= msg['args'].inspect[0..1000]
2012-03-29 13:48:06 -04:00
tr
th Error Class
2012-03-29 13:48:06 -04:00
td
code= msg['error_class']
tr
th Error Message
2012-03-29 13:48:06 -04:00
td= msg['error_message']
- if msg['retry_count'] > 0
tr
th Retry Count
2012-03-29 13:48:06 -04:00
td= msg['retry_count']
tr
th Last Retry
2012-03-29 13:48:06 -04:00
td= Time.parse(msg['retried_at'])
- else
tr
th Originally Failed
2012-03-29 13:48:06 -04:00
td= Time.parse(msg['failed_at'])
tr
th Next Retry
2012-03-29 13:48:06 -04:00
td= Time.at(score)