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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/unicorn_horn/worker.rb +0 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -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"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joe Edelman