sidekiq 7.0.9 → 7.1.6
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 +71 -0
- data/README.md +2 -2
- data/bin/sidekiqload +21 -3
- data/lib/sidekiq/api.rb +32 -9
- data/lib/sidekiq/cli.rb +2 -1
- data/lib/sidekiq/client.rb +37 -21
- data/lib/sidekiq/component.rb +1 -1
- data/lib/sidekiq/config.rb +25 -8
- data/lib/sidekiq/job.rb +1 -5
- data/lib/sidekiq/job_retry.rb +21 -4
- data/lib/sidekiq/job_util.rb +4 -2
- data/lib/sidekiq/launcher.rb +1 -1
- data/lib/sidekiq/metrics/shared.rb +1 -1
- data/lib/sidekiq/middleware/current_attributes.rb +55 -16
- data/lib/sidekiq/paginator.rb +1 -1
- data/lib/sidekiq/processor.rb +27 -26
- data/lib/sidekiq/rails.rb +12 -7
- data/lib/sidekiq/redis_client_adapter.rb +6 -26
- data/lib/sidekiq/redis_connection.rb +1 -0
- data/lib/sidekiq/scheduled.rb +1 -1
- data/lib/sidekiq/testing.rb +19 -6
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web/action.rb +3 -3
- data/lib/sidekiq/web/application.rb +55 -5
- data/lib/sidekiq/web/csrf_protection.rb +1 -1
- data/lib/sidekiq/web/helpers.rb +23 -9
- data/lib/sidekiq/web.rb +13 -1
- data/sidekiq.gemspec +1 -10
- data/web/assets/javascripts/application.js +1 -0
- data/web/assets/javascripts/dashboard-charts.js +3 -1
- data/web/locales/en.yml +2 -0
- data/web/locales/fr.yml +14 -0
- data/web/locales/pt-br.yml +20 -0
- data/web/views/_job_info.erb +1 -1
- data/web/views/filtering.erb +7 -0
- data/web/views/metrics_for_job.erb +1 -1
- metadata +7 -14
data/web/locales/pt-br.yml
CHANGED
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
AreYouSureDeleteJob: Deseja deletar esta tarefa?
|
|
6
6
|
AreYouSureDeleteQueue: Deseja deletar a fila %{queue}? Isso irá deletar todas as tarefas desta fila.
|
|
7
7
|
Arguments: Argumentos
|
|
8
|
+
AvgExecutionTime: Tempo médio de execução
|
|
8
9
|
BackToApp: De volta ao aplicativo
|
|
10
|
+
Bucket: Bucket
|
|
9
11
|
Busy: Ocupados
|
|
10
12
|
Class: Classe
|
|
11
13
|
Connections: Conexões
|
|
14
|
+
Context: Contexto
|
|
12
15
|
CreatedAt: Criado em
|
|
13
16
|
CurrentMessagesInQueue: Mensagens atualmente na <span class='title'>%{queue}</span>
|
|
14
17
|
Dashboard: Painel
|
|
@@ -16,13 +19,16 @@
|
|
|
16
19
|
DeadJobs: Tarefas mortas
|
|
17
20
|
Delete: Apagar
|
|
18
21
|
DeleteAll: Apagar tudo
|
|
22
|
+
Deploy: Deploy
|
|
19
23
|
Enqueued: Na fila
|
|
20
24
|
Error: Erro
|
|
21
25
|
ErrorBacktrace: Rastreamento do erro
|
|
22
26
|
ErrorClass: Classe de erro
|
|
23
27
|
ErrorMessage: Mensagem de erro
|
|
28
|
+
ExecutionTime: Tempo de execução
|
|
24
29
|
Extras: Extras
|
|
25
30
|
Failed: Falhas
|
|
31
|
+
Failure: Falha
|
|
26
32
|
Failures: Falhas
|
|
27
33
|
GoBack: ← Voltar
|
|
28
34
|
History: Histórico
|
|
@@ -34,10 +40,13 @@
|
|
|
34
40
|
Latency: Latência
|
|
35
41
|
LivePoll: Live Poll
|
|
36
42
|
MemoryUsage: Uso de memória
|
|
43
|
+
Metrics: Métricas
|
|
37
44
|
Name: Nome
|
|
38
45
|
Namespace: Namespace
|
|
39
46
|
NextRetry: Próxima Tentativa
|
|
47
|
+
NoDataFound: Nenhum dado encontrado
|
|
40
48
|
NoDeadJobsFound: Nenhuma tarefa morta foi encontrada
|
|
49
|
+
NoJobMetricsFound: Nenhuma métrica de tarefa encontrada
|
|
41
50
|
NoRetriesFound: Nenhuma tentativa encontrada
|
|
42
51
|
NoScheduledFound: Nenhuma tarefa agendada foi encontrada
|
|
43
52
|
NotYetEnqueued: Ainda não enfileirado
|
|
@@ -47,6 +56,7 @@
|
|
|
47
56
|
Pause: Pausar
|
|
48
57
|
Paused: Pausado
|
|
49
58
|
PeakMemoryUsage: Pico de uso de memória
|
|
59
|
+
Uptime: Tempo de atividade
|
|
50
60
|
Plugins: Plug-ins
|
|
51
61
|
PollingInterval: Intervalo de Polling
|
|
52
62
|
Process: Processo
|
|
@@ -63,14 +73,24 @@
|
|
|
63
73
|
RetryNow: Tentar novamente agora
|
|
64
74
|
Scheduled: Agendados
|
|
65
75
|
ScheduledJobs: Tarefas agendadas
|
|
76
|
+
idle: Ocioso
|
|
77
|
+
active: Ativo
|
|
78
|
+
Seconds: Segundos
|
|
66
79
|
ShowAll: Mostrar todos
|
|
67
80
|
SixMonths: 6 meses
|
|
68
81
|
Size: Tamanho
|
|
82
|
+
Started: Iniciado
|
|
69
83
|
Stop: Parar
|
|
70
84
|
StopAll: Parar Todos
|
|
71
85
|
StopPolling: Parar Polling
|
|
86
|
+
Success: Sucesso
|
|
87
|
+
Summary: Resumo
|
|
72
88
|
Thread: Thread
|
|
73
89
|
Threads: Threads
|
|
90
|
+
ThreeMonths: 3 meses
|
|
91
|
+
TotalExecutionTime: Tempo total de execução
|
|
74
92
|
Unpause: Despausar
|
|
75
93
|
Utilization: Utilização
|
|
94
|
+
Version: Versão
|
|
95
|
+
When: Quando
|
|
76
96
|
Worker: Trabalhador
|
data/web/views/_job_info.erb
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<div class="sm-col-3 pull-right" style="display: inline; margin: 25px 15px 0 0;">
|
|
2
|
+
<%= t('Filter') %>:
|
|
3
|
+
<form method="POST" action='<%= root_path %>filter/<%= which %>' style="display: inline-block">
|
|
4
|
+
<%= csrf_tag %>
|
|
5
|
+
<input class="search" type="search" name="substr" value="<%= h params[:substr] %>" placeholder="<%= t('AnyJobContent') %>"/>
|
|
6
|
+
</form>
|
|
7
|
+
</div>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<%
|
|
7
7
|
job_result = @query_result.job_results[@name]
|
|
8
|
-
hist_totals = job_result.hist.values.first.zip(*job_result.hist.values[1..-1]).map(&:sum)
|
|
8
|
+
hist_totals = job_result.hist.values.first.zip(*job_result.hist.values[1..-1]).map(&:sum).reverse
|
|
9
9
|
bucket_labels = Sidekiq::Metrics::Histogram::LABELS
|
|
10
10
|
bucket_intervals = Sidekiq::Metrics::Histogram::BUCKET_INTERVALS
|
|
11
11
|
%>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidekiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.
|
|
4
|
+
version: 7.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Perham
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis-client
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.14.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.
|
|
26
|
+
version: 0.14.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: connection_pool
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,6 +187,7 @@ files:
|
|
|
187
187
|
- web/views/busy.erb
|
|
188
188
|
- web/views/dashboard.erb
|
|
189
189
|
- web/views/dead.erb
|
|
190
|
+
- web/views/filtering.erb
|
|
190
191
|
- web/views/layout.erb
|
|
191
192
|
- web/views/metrics.erb
|
|
192
193
|
- web/views/metrics_for_job.erb
|
|
@@ -207,14 +208,7 @@ metadata:
|
|
|
207
208
|
changelog_uri: https://github.com/sidekiq/sidekiq/blob/main/Changes.md
|
|
208
209
|
source_code_uri: https://github.com/sidekiq/sidekiq
|
|
209
210
|
rubygems_mfa_required: 'true'
|
|
210
|
-
post_install_message:
|
|
211
|
-
|
|
212
|
-
Welcome to Sidekiq 7.0!
|
|
213
|
-
|
|
214
|
-
1. Use `gem 'sidekiq', '<7'` in your Gemfile if you don't want this new version.
|
|
215
|
-
2. Read the release notes at https://github.com/sidekiq/sidekiq/blob/main/docs/7.0-Upgrade.md
|
|
216
|
-
3. If you have problems, search for open/closed issues at https://github.com/sidekiq/sidekiq/issues/
|
|
217
|
-
|
|
211
|
+
post_install_message:
|
|
218
212
|
rdoc_options: []
|
|
219
213
|
require_paths:
|
|
220
214
|
- lib
|
|
@@ -229,9 +223,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
223
|
- !ruby/object:Gem::Version
|
|
230
224
|
version: '0'
|
|
231
225
|
requirements: []
|
|
232
|
-
rubygems_version: 3.4.
|
|
226
|
+
rubygems_version: 3.4.20
|
|
233
227
|
signing_key:
|
|
234
228
|
specification_version: 4
|
|
235
229
|
summary: Simple, efficient background processing for Ruby
|
|
236
230
|
test_files: []
|
|
237
|
-
...
|