sidekiq 8.1.7 → 8.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changes.md +12 -0
- data/README.md +3 -3
- data/lib/sidekiq/api.rb +12 -10
- data/lib/sidekiq/cli.rb +5 -2
- data/lib/sidekiq/config.rb +26 -1
- data/lib/sidekiq/embedded.rb +1 -1
- data/lib/sidekiq/job/iterable/active_record_enumerator.rb +1 -1
- data/lib/sidekiq/job/iterable.rb +1 -1
- data/lib/sidekiq/job.rb +55 -64
- data/lib/sidekiq/job_logger.rb +5 -0
- data/lib/sidekiq/job_util.rb +7 -2
- data/lib/sidekiq/metrics/shared.rb +1 -1
- data/lib/sidekiq/processor.rb +2 -0
- data/lib/sidekiq/redis_client_adapter.rb +5 -3
- data/lib/sidekiq/redis_connection.rb +18 -9
- data/lib/sidekiq/tui/tabs/base_tab.rb +19 -0
- data/lib/sidekiq/tui/tabs/busy.rb +1 -1
- data/lib/sidekiq/tui/tabs/home.rb +1 -1
- data/lib/sidekiq/tui.rb +6 -31
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web/action.rb +2 -2
- data/lib/sidekiq/web/application.rb +5 -5
- data/lib/sidekiq/web/helpers.rb +24 -2
- data/lib/sidekiq/web.rb +2 -2
- data/sidekiq.gemspec +1 -1
- data/web/assets/javascripts/application.js +1 -0
- data/web/locales/da.yml +34 -0
- data/web/locales/de.yml +29 -1
- data/web/locales/es.yml +2 -0
- data/web/locales/fr.yml +11 -0
- data/web/locales/it.yml +2 -0
- data/web/locales/ja.yml +19 -0
- data/web/locales/ko.yml +42 -0
- data/web/locales/nb.yml +32 -0
- data/web/locales/nl.yml +41 -0
- data/web/locales/pl.yml +50 -0
- data/web/locales/pt-BR.yml +13 -0
- data/web/locales/pt.yml +42 -0
- data/web/locales/ru.yml +26 -0
- data/web/locales/sv.yml +41 -0
- data/web/locales/tr.yml +9 -0
- data/web/locales/uk.yml +9 -0
- data/web/locales/ur.yml +34 -4
- data/web/locales/zh-CN.yml +4 -0
- data/web/locales/zh-TW.yml +18 -0
- data/web/views/_job_info.html.erb +6 -6
- data/web/views/_nav.html.erb +3 -9
- data/web/views/busy.html.erb +5 -4
- data/web/views/dead.html.erb +1 -1
- data/web/views/layout.html.erb +1 -1
- data/web/views/morgue.html.erb +2 -1
- data/web/views/queues.html.erb +1 -0
- data/web/views/retries.html.erb +3 -2
- data/web/views/scheduled.html.erb +2 -1
- metadata +2 -2
data/web/views/_nav.html.erb
CHANGED
|
@@ -20,15 +20,9 @@
|
|
|
20
20
|
<div class="navbar-collapse" role="navigation" id="navbar-menu">
|
|
21
21
|
<ul class="nav" data-navbar="static">
|
|
22
22
|
<% config.tabs.each do |title, url| %>
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
</li>
|
|
27
|
-
<% else %>
|
|
28
|
-
<li class="<%= current_path.start_with?(url) ? 'active' : '' %>">
|
|
29
|
-
<a href="<%= root_path %><%= url %>"><%= t(title) %></a>
|
|
30
|
-
</li>
|
|
31
|
-
<% end %>
|
|
23
|
+
<li class="<%= active_tab?(url) ? 'active' : '' %>">
|
|
24
|
+
<a href="<%= root_path %><%= url %>"><%= t(title) %></a>
|
|
25
|
+
</li>
|
|
32
26
|
<% end %>
|
|
33
27
|
|
|
34
28
|
<li class="navbar-livereload">
|
data/web/views/busy.html.erb
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
<p><%= t('RSS') %></p>
|
|
26
26
|
</article>
|
|
27
27
|
</div>
|
|
28
|
+
<% @page_title = "#{t('Busy')} (#{ws}/#{x})" %>
|
|
28
29
|
</section>
|
|
29
30
|
|
|
30
31
|
<% if @show_processes %>
|
|
@@ -55,9 +56,9 @@
|
|
|
55
56
|
<tr>
|
|
56
57
|
<td class="box">
|
|
57
58
|
<%= "#{process['hostname']}:#{process['pid']}" %>
|
|
58
|
-
<span class="label label-success"><%= process.tag %></span>
|
|
59
|
+
<span class="label label-success"><%= h process.tag %></span>
|
|
59
60
|
<% process.labels.each do |label| %>
|
|
60
|
-
<span class="label label-info"><%= label %></span>
|
|
61
|
+
<span class="label label-info"><%= h label %></span>
|
|
61
62
|
<% end %>
|
|
62
63
|
<% if process.embedded? %>
|
|
63
64
|
<span class="label label-default">embedded</span>
|
|
@@ -130,12 +131,12 @@
|
|
|
130
131
|
<tr>
|
|
131
132
|
<td><%= process %></td>
|
|
132
133
|
<td><%= thread %></td>
|
|
133
|
-
<td><%= job.jid %></td>
|
|
134
|
+
<td><%= h job.jid %></td>
|
|
134
135
|
<td>
|
|
135
136
|
<a href="<%= root_path %>queues/<%= CGI.escape(work.queue) %>"><%= h work.queue %></a>
|
|
136
137
|
</td>
|
|
137
138
|
<td>
|
|
138
|
-
<%= job.display_class %>
|
|
139
|
+
<%= h job.display_class %>
|
|
139
140
|
<%= display_tags(job, nil) %>
|
|
140
141
|
</td>
|
|
141
142
|
<td>
|
data/web/views/dead.html.erb
CHANGED
data/web/views/layout.html.erb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html dir="<%= text_direction %>" lang="<%= locale %>">
|
|
3
3
|
<head>
|
|
4
|
-
<title><%= environment_title_prefix %><%=
|
|
4
|
+
<title><%= environment_title_prefix %><%= page_title %></title>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
7
|
<meta name="color-scheme" content="light dark">
|
data/web/views/morgue.html.erb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<section>
|
|
2
2
|
<header>
|
|
3
|
+
<% @page_title = "#{t('DeadJobs')} (#{@total_size})" %>
|
|
3
4
|
<h1><%= t('DeadJobs') %></h1>
|
|
4
5
|
<% if @dead.size > 0 && @total_size > @count %>
|
|
5
6
|
<%= erb :_paging, locals: { url: "#{root_path}morgue" } %>
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
<a href="<%= root_path %>queues/<%= CGI.escape(entry.queue) if entry.queue %>"><%= h entry.queue %></a>
|
|
41
42
|
</td>
|
|
42
43
|
<td>
|
|
43
|
-
<%= entry.display_class %>
|
|
44
|
+
<%= h entry.display_class %>
|
|
44
45
|
<%= display_tags(entry, "morgue") %>
|
|
45
46
|
</td>
|
|
46
47
|
<td>
|
data/web/views/queues.html.erb
CHANGED
data/web/views/retries.html.erb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<section>
|
|
2
2
|
<header>
|
|
3
|
+
<% @page_title = "#{t('Retries')} (#{@total_size})" %>
|
|
3
4
|
<h1><%= t('Retries') %></h1>
|
|
4
5
|
<% if @retries.size > 0 && @total_size > @count %>
|
|
5
6
|
<%= erb :_paging, locals: { url: "#{root_path}retries" } %>
|
|
@@ -37,12 +38,12 @@
|
|
|
37
38
|
<td>
|
|
38
39
|
<a href="<%= root_path %>retries/<%= job_params(entry.item, entry.score) %>"><%= relative_time(entry.at) %></a>
|
|
39
40
|
</td>
|
|
40
|
-
<td><%= entry['retry_count'] %></td>
|
|
41
|
+
<td><%= h entry['retry_count'] %></td>
|
|
41
42
|
<td>
|
|
42
43
|
<a href="<%= root_path %>queues/<%= CGI.escape(entry.queue) %>"><%= h entry.queue %></a>
|
|
43
44
|
</td>
|
|
44
45
|
<td>
|
|
45
|
-
<%= entry.display_class %>
|
|
46
|
+
<%= h entry.display_class %>
|
|
46
47
|
<%= display_tags(entry, "retries") %>
|
|
47
48
|
</td>
|
|
48
49
|
<td>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<section>
|
|
2
2
|
<header>
|
|
3
|
+
<% @page_title = "#{t('ScheduledJobs')} (#{@total_size})" %>
|
|
3
4
|
<h1><%= t('ScheduledJobs') %></h1>
|
|
4
5
|
<% if @scheduled.size > 0 && @total_size > @count %>
|
|
5
6
|
<%= erb :_paging, locals: { url: "#{root_path}scheduled" } %>
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
<a href="<%= root_path %>queues/<%= CGI.escape(entry.queue) %>"><%= h entry.queue %></a>
|
|
40
41
|
</td>
|
|
41
42
|
<td>
|
|
42
|
-
<%= entry.display_class %>
|
|
43
|
+
<%= h entry.display_class %>
|
|
43
44
|
<%= display_tags(entry, "scheduled") %>
|
|
44
45
|
</td>
|
|
45
46
|
<td>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidekiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Perham
|
|
@@ -243,7 +243,7 @@ licenses:
|
|
|
243
243
|
metadata:
|
|
244
244
|
homepage_uri: https://sidekiq.org
|
|
245
245
|
bug_tracker_uri: https://github.com/sidekiq/sidekiq/issues
|
|
246
|
-
documentation_uri: https://
|
|
246
|
+
documentation_uri: https://sidekiq.org/wiki
|
|
247
247
|
changelog_uri: https://github.com/sidekiq/sidekiq/blob/main/Changes.md
|
|
248
248
|
source_code_uri: https://github.com/sidekiq/sidekiq
|
|
249
249
|
rubygems_mfa_required: 'true'
|