sidetiq 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/sidetiq/version.rb +1 -1
- data/lib/sidetiq/views/history.erb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a7565ecd88f624a598df7a45b68e1e0d2a2105f
|
4
|
+
data.tar.gz: 1dc01498611f425fda6f0a73e0fe9246f84d7fdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc2e8420e1931c96b2c81c36a3ba3a64e177dc82c1e8815998585d27d5d7ea143dca17c88fa71202f3bce7d19fbb4818977a8d3eaad1852fbafb8ffc1ee97cb7
|
7
|
+
data.tar.gz: c1f2506614c80787179cc77c533d2615cac46356e2cc09dcbe7eaf74890e256c6fad42e84c89f529fbcc22ecaa75615cdae0330048a237ab37cd5cd30f62979b
|
data/CHANGELOG.md
CHANGED
data/lib/sidetiq/version.rb
CHANGED
@@ -23,10 +23,11 @@
|
|
23
23
|
|
24
24
|
<% @history.each do |entry| %>
|
25
25
|
<% entry = Sidekiq.load_json(entry).symbolize_keys %>
|
26
|
+
<% runtime = entry[:runtime]&.round(3) || "N/A" %>
|
26
27
|
<tr class="<%= 'error' if entry[:status] == 'failure' %>">
|
27
28
|
<td><%= entry[:status].capitalize %></td>
|
28
29
|
<td><%= Time.parse(entry[:timestamp]).strftime("%m/%d/%Y %I:%M:%S%p") %></td>
|
29
|
-
<td><%=
|
30
|
+
<td><%= runtime %> s</td>
|
30
31
|
<td>
|
31
32
|
<% if entry[:status] == 'failure' %>
|
32
33
|
<a class="backtrace" href="#" onclick="$(this).next().toggle(); return false">
|