unicorn_horn 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/unicorn_horn/worker.rb +0 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/unicorn_horn/worker.rb
CHANGED
@@ -39,7 +39,6 @@ module UnicornHorn
|
|
39
39
|
return unless @tmp and @wpid
|
40
40
|
stat = @tmp.stat
|
41
41
|
stat.mode == 0100600 and return
|
42
|
-
idle_timeout ||= 60
|
43
42
|
(diff = (Time.now - stat.ctime)) <= idle_timeout and return
|
44
43
|
logger.error "worker=#{name} PID:#{@wpid} timeout " \
|
45
44
|
"(#{diff}s > #{idle_timeout}s), killing"
|