perfectqueue 0.8.30 → 0.8.31

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.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ == 2014-04-07 version 0.8.31
3
+
4
+ * Fixed ChildProcessMonitor to kill grandchildren
5
+
6
+
2
7
  == 2014-04-07 version 0.8.30
3
8
 
4
9
  * Fixed ChildProcessMonitor to kill grandchildren
@@ -52,8 +52,8 @@ module PerfectQueue
52
52
 
53
53
  now = Time.now.to_i
54
54
  if delay == 0
55
- kill_children(now, nil)
56
55
  @kill_start_time = now
56
+ kill_children(now, nil)
57
57
  else
58
58
  @kill_start_time = now + delay
59
59
  end
@@ -124,7 +124,7 @@ module PerfectQueue
124
124
 
125
125
  def get_ppid_pids_map
126
126
  ppid_pids = {} # {ppid => [pid]}
127
- `ps -ao pid,ppid`.each_line do |line|
127
+ `ps -axo pid,ppid`.each_line do |line|
128
128
  if m = /^\s*(\d+)\s+(\d+)\s*$/.match(line)
129
129
  (ppid_pids[m[2].to_i] ||= []) << m[1].to_i
130
130
  end
@@ -1,3 +1,3 @@
1
1
  module PerfectQueue
2
- VERSION = "0.8.30"
2
+ VERSION = "0.8.31"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfectqueue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.30
4
+ version: 0.8.31
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -155,15 +155,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
155
  - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
+ segments:
159
+ - 0
160
+ hash: -423779269377540008
158
161
  required_rubygems_version: !ruby/object:Gem::Requirement
159
162
  none: false
160
163
  requirements:
161
164
  - - ! '>='
162
165
  - !ruby/object:Gem::Version
163
166
  version: '0'
167
+ segments:
168
+ - 0
169
+ hash: -423779269377540008
164
170
  requirements: []
165
171
  rubyforge_project:
166
- rubygems_version: 1.8.23
172
+ rubygems_version: 1.8.24
167
173
  signing_key:
168
174
  specification_version: 3
169
175
  summary: Highly available distributed cron built on RDBMS
@@ -173,4 +179,3 @@ test_files:
173
179
  - spec/spec_helper.rb
174
180
  - spec/stress.rb
175
181
  - spec/supervisor_spec.rb
176
- has_rdoc: false