sidekiq 4.2.8 → 4.2.9
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sidekiq might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Changes.md +7 -0
- data/lib/sidekiq/cli.rb +5 -1
- data/lib/sidekiq/redis_connection.rb +7 -1
- data/lib/sidekiq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bfbae2d6e06595febe27592cf45c3a5f188f7e9
|
4
|
+
data.tar.gz: cae512a4610cd6670d51559e71a3156a00d43eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42b2738772c88ba2d22dee47dc8e8bb5755d8d8f769a033be6e0e503f6e15ddc02092db6b745365db93448d110231721838c9bec8c0ced7537c451dfecc940d0
|
7
|
+
data.tar.gz: 8e6861e5b2cec345eeeb10fd2f031431dae82db2af3fa60e58a30c78d874f39a92a7638e0d291c5885a78eaa36dd50010dfb973225ee0dd6cd345059c17598e9
|
data/Changes.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Sidekiq Changes
|
2
2
|
|
3
|
+
4.2.9
|
4
|
+
-----------
|
5
|
+
|
6
|
+
- Rollback [#3303] which broke Heroku Redis users [#3311]
|
7
|
+
- Add support for TSTP signal, for Sidekiq 5.0 forward compatibility. [#3302]
|
8
|
+
|
3
9
|
4.2.8
|
4
10
|
-----------
|
5
11
|
|
@@ -47,6 +53,7 @@ Sidekiq::Web.set :sessions, false
|
|
47
53
|
- Fix Web UI sharding support broken in 4.2.2. [#3169]
|
48
54
|
- Fix timestamps not updating during UI polling [#3193, shaneog]
|
49
55
|
- Relax rack-protection version to >= 1.5.0
|
56
|
+
- Provide consistent interface to exception handlers, changing the structure of the context hash. [#3161]
|
50
57
|
|
51
58
|
4.2.2
|
52
59
|
-----------
|
data/lib/sidekiq/cli.rb
CHANGED
@@ -52,7 +52,7 @@ module Sidekiq
|
|
52
52
|
|
53
53
|
self_read, self_write = IO.pipe
|
54
54
|
|
55
|
-
%w(INT TERM USR1 USR2 TTIN).each do |sig|
|
55
|
+
%w(INT TERM USR1 USR2 TTIN TSTP).each do |sig|
|
56
56
|
begin
|
57
57
|
trap sig do
|
58
58
|
self_write.puts(sig)
|
@@ -135,6 +135,10 @@ module Sidekiq
|
|
135
135
|
when 'USR1'
|
136
136
|
Sidekiq.logger.info "Received USR1, no longer accepting new work"
|
137
137
|
launcher.quiet
|
138
|
+
when 'TSTP'
|
139
|
+
# USR1 is not available on JVM, allow TSTP as an alternate signal
|
140
|
+
Sidekiq.logger.info "Received TSTP, no longer accepting new work"
|
141
|
+
launcher.quiet
|
138
142
|
when 'USR2'
|
139
143
|
if Sidekiq.options[:logfile]
|
140
144
|
Sidekiq.logger.info "Received USR2, reopening log file"
|
@@ -68,7 +68,13 @@ module Sidekiq
|
|
68
68
|
end
|
69
69
|
|
70
70
|
opts[:driver] ||= 'ruby'
|
71
|
-
|
71
|
+
|
72
|
+
# Issue #3303, redis-rb will silently retry an operation.
|
73
|
+
# This can lead to duplicate jobs if Sidekiq::Client's LPUSH
|
74
|
+
# is performed twice but I believe this is much, much rarer
|
75
|
+
# than the reconnect silently fixing a problem; we keep it
|
76
|
+
# on by default.
|
77
|
+
opts[:reconnect_attempts] ||= 1
|
72
78
|
|
73
79
|
opts
|
74
80
|
end
|
data/lib/sidekiq/version.rb
CHANGED
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: 4.2.
|
4
|
+
version: 4.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Perham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|