aggressively kill unicorn workers with UnicornKiller. [ci skip]
This commit is contained in:
parent
95b7e30e00
commit
3146380365
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ require ::File.expand_path('../config/environment', __FILE__)
|
|||
require ::File.expand_path('../lib/unicorn_killer', __FILE__)
|
||||
require ::File.expand_path('../lib/rack/chrome_frame', __FILE__)
|
||||
|
||||
# Kill unicorn workers really agressively (at 300mb)
|
||||
if defined?(Unicorn)
|
||||
use UnicornKiller::Oom, 300 * 1024
|
||||
end
|
||||
|
||||
use Rack::ChromeFrame, :minimum => 8
|
||||
run Diaspora::Application
|
||||
|
|
|
|||
Loading…
Reference in a new issue