sidekiq 2.12.3 → 2.12.4
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.
- data/Changes.md +6 -0
- data/lib/sidekiq/manager.rb +8 -4
- data/lib/sidekiq/version.rb +1 -1
- metadata +2 -2
data/Changes.md
CHANGED
data/lib/sidekiq/manager.rb
CHANGED
@@ -29,7 +29,11 @@ module Sidekiq
|
|
29
29
|
@done = false
|
30
30
|
@busy = []
|
31
31
|
@fetcher = Fetcher.new(current_actor, options)
|
32
|
-
@ready = @count.times.map
|
32
|
+
@ready = @count.times.map do
|
33
|
+
p = Processor.new_link(current_actor)
|
34
|
+
p.proxy_id = p.object_id
|
35
|
+
p
|
36
|
+
end
|
33
37
|
end
|
34
38
|
|
35
39
|
def stop(options={})
|
@@ -83,9 +87,9 @@ module Sidekiq
|
|
83
87
|
@busy.delete(processor)
|
84
88
|
|
85
89
|
unless stopped?
|
86
|
-
|
87
|
-
|
88
|
-
|
90
|
+
p = Processor.new_link(current_actor)
|
91
|
+
p.proxy_id = p.object_id
|
92
|
+
@ready << p
|
89
93
|
dispatch
|
90
94
|
else
|
91
95
|
signal(:shutdown) if @busy.empty?
|
data/lib/sidekiq/version.rb
CHANGED
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: 2.12.
|
4
|
+
version: 2.12.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|