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 CHANGED
@@ -1,3 +1,9 @@
1
+ 2.12.4
2
+ -----------
3
+
4
+ - Fix error in previous release which crashed the Manager when a
5
+ Processor died.
6
+
1
7
  2.12.3
2
8
  -----------
3
9
 
@@ -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 { Processor.new_link(current_actor).tap {|p| p.proxy_id = p.object_id} }
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
- @ready << Processor.new_link(current_actor).tap do |p|
87
- p.proxy_id = p.object_id
88
- end
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?
@@ -1,3 +1,3 @@
1
1
  module Sidekiq
2
- VERSION = "2.12.3"
2
+ VERSION = "2.12.4"
3
3
  end
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.3
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 00:00:00.000000000 Z
12
+ date: 2013-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis