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
|
2012-03-29 14:55:44 -04:00
|
|
|
th Queue
|
2012-03-29 13:48:06 -04:00
|
|
|
td
|
|
|
|
a href="queues/#{msg['queue']}" #{msg['queue']}
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Job Class
|
2012-03-29 13:48:06 -04:00
|
|
|
td
|
|
|
|
code= msg['class']
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Job Arguments
|
2012-03-29 13:48:06 -04:00
|
|
|
td
|
2012-03-29 14:55:44 -04:00
|
|
|
code= msg['args'].inspect[0..1000]
|
2012-03-29 13:48:06 -04:00
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Error Class
|
2012-03-29 13:48:06 -04:00
|
|
|
td
|
|
|
|
code= msg['error_class']
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Error Message
|
2012-03-29 13:48:06 -04:00
|
|
|
td= msg['error_message']
|
|
|
|
- if msg['retry_count'] > 0
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Retry Count
|
2012-03-29 13:48:06 -04:00
|
|
|
td= msg['retry_count']
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Last Retry
|
2012-03-29 13:48:06 -04:00
|
|
|
td= Time.parse(msg['retried_at'])
|
|
|
|
- else
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Originally Failed
|
2012-03-29 13:48:06 -04:00
|
|
|
td= Time.parse(msg['failed_at'])
|
|
|
|
tr
|
2012-03-29 14:55:44 -04:00
|
|
|
th Next Retry
|
2012-03-29 13:48:06 -04:00
|
|
|
td= Time.at(score)
|
|
|
|
|