unicorn-worker-killer 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/worker_killer.rb +2 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -46,7 +46,7 @@ module Unicorn::WorkerKiller
46
46
  if c % @_worker_check_cycle == 0
47
47
  @_worker_check_count = 0
48
48
  if _worker_rss() > @_worker_memory_size
49
- UnicornWorkerKiller.kill_self(logger, @_worker_process_start)
49
+ Unicorn::WorkerKiller.kill_self(logger, @_worker_process_start)
50
50
  end
51
51
  else
52
52
  @_worker_check_count = c
@@ -104,7 +104,7 @@ module Unicorn::WorkerKiller
104
104
  super(client) # Unicorn::HttpServer#process_client
105
105
 
106
106
  if (@_worker_max_requests -= 1) <= 0
107
- UnicornWorkerKiller.kill_self(logger, @_worker_process_start)
107
+ Unicorn::WorkerKiller.kill_self(logger, @_worker_process_start)
108
108
  end
109
109
  end
110
110
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn-worker-killer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-22 00:00:00.000000000 Z
13
+ date: 2012-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: unicorn