perfectqueue 0.8.32 → 0.8.33
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
|
@@ -52,10 +52,10 @@ module PerfectQueue
|
|
|
52
52
|
|
|
53
53
|
now = Time.now.to_i
|
|
54
54
|
if delay == 0
|
|
55
|
-
@kill_start_time = now
|
|
55
|
+
@last_kill_time = @kill_start_time = now
|
|
56
56
|
kill_children(now, nil)
|
|
57
57
|
else
|
|
58
|
-
@kill_start_time = now + delay
|
|
58
|
+
@last_kill_time = @kill_start_time = now + delay
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
@@ -89,6 +89,7 @@ module PerfectQueue
|
|
|
89
89
|
now = Time.now.to_i
|
|
90
90
|
if @last_kill_time + kill_interval <= now
|
|
91
91
|
kill_children(now, graceful_kill_limit)
|
|
92
|
+
@last_kill_time = now
|
|
92
93
|
end
|
|
93
94
|
|
|
94
95
|
return false
|
|
@@ -118,8 +119,6 @@ module PerfectQueue
|
|
|
118
119
|
else
|
|
119
120
|
kill_process(@pid, false)
|
|
120
121
|
end
|
|
121
|
-
|
|
122
|
-
@last_kill_time = now
|
|
123
122
|
end
|
|
124
123
|
|
|
125
124
|
def get_ppid_pids_map
|
data/lib/perfectqueue/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.8.33
|
|
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: 2014-04-
|
|
12
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sequel
|
|
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
157
157
|
version: '0'
|
|
158
158
|
segments:
|
|
159
159
|
- 0
|
|
160
|
-
hash: -
|
|
160
|
+
hash: -4181618303905023933
|
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
none: false
|
|
163
163
|
requirements:
|
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
166
166
|
version: '0'
|
|
167
167
|
segments:
|
|
168
168
|
- 0
|
|
169
|
-
hash: -
|
|
169
|
+
hash: -4181618303905023933
|
|
170
170
|
requirements: []
|
|
171
171
|
rubyforge_project:
|
|
172
172
|
rubygems_version: 1.8.24
|