mobilize-base 1.0.51 → 1.0.52
Sign up to get free protection for your applications and to get access to all the features.
@@ -141,7 +141,7 @@ module Mobilize
|
|
141
141
|
return true
|
142
142
|
end
|
143
143
|
|
144
|
-
def Resque.
|
144
|
+
def Resque.kill_idle_and_stale_workers
|
145
145
|
idle_pids = Resque.workers('idle').select{|w| w.job=={}}.map{|w| w.to_s.split(":").second}
|
146
146
|
stale_pids = Resque.workers('stale').select{|w| w.job=={}}.map{|w| w.to_s.split(":").second}
|
147
147
|
idle_stale_pids = (idle_pids & stale_pids)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.52
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -255,7 +255,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: '0'
|
256
256
|
segments:
|
257
257
|
- 0
|
258
|
-
hash:
|
258
|
+
hash: 1139882242282954154
|
259
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
260
|
none: false
|
261
261
|
requirements:
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
segments:
|
266
266
|
- 0
|
267
|
-
hash:
|
267
|
+
hash: 1139882242282954154
|
268
268
|
requirements: []
|
269
269
|
rubyforge_project: mobilize-base
|
270
270
|
rubygems_version: 1.8.24
|