mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Display created_at, fixes #2705
This commit is contained in:
parent
b561c37d65
commit
2ad609b4b2
3 changed files with 6 additions and 0 deletions
|
@ -193,6 +193,7 @@ module Sidekiq
|
|||
queue class args retry_count retried_at failed_at
|
||||
jid error_message error_class backtrace
|
||||
error_backtrace enqueued_at retry wrapped
|
||||
created_at
|
||||
))
|
||||
|
||||
def retry_extra_items(retry_job)
|
||||
|
|
|
@ -75,3 +75,4 @@ en: # <---- change this to your locale code
|
|||
PollingInterval: Polling interval
|
||||
Plugins: Plugins
|
||||
NotYetEnqueued: Not yet enqueued
|
||||
CreatedAt: Created At
|
||||
|
|
|
@ -32,6 +32,10 @@
|
|||
<code><%= job.jid %></code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><%= t('CreatedAt') %></th>
|
||||
<td><%= relative_time(job.created_at) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><%= t('Enqueued') %></th>
|
||||
<td><%= (enqueued_at = job.enqueued_at) ? relative_time(enqueued_at) : t('NotYetEnqueued') %></td>
|
||||
|
|
Loading…
Reference in a new issue