remove unicorn intializer as we now do it in config.ru
This commit is contained in:
parent
c69df0fb29
commit
3be247f8ca
1 changed files with 0 additions and 7 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
||||||
# licensed under the Affero General Public License version 3 or later. See
|
|
||||||
# the COPYRIGHT file.
|
|
||||||
if defined? Unicorn
|
|
||||||
Rails.application.middleware.insert(0, UnicornKiller::Oom, 400 * 1024) #kill a unicorn that has gone over 400mB
|
|
||||||
NewRelic::Agent.after_fork(:force_reconnect => true) if defined?(NewRelic)
|
|
||||||
end
|
|
||||||
Loading…
Reference in a new issue