Permalink
Browse files

troubleshoot new relic + unicorn

  • Loading branch information...
1 parent 13759a5 commit 0ca4e5496285c8139a59b77e1b946af0ca06eeaa @sudara committed Oct 9, 2011
Showing with 1 addition and 9 deletions.
  1. +1 −9 config/unicorn.rb
View
@@ -18,19 +18,11 @@
logger Logger.new("log/unicorn.log")
-##
# Load the app into the master before forking workers for super-fast worker spawn times
# Not good for some apps, this causes the master to use slighty more ram than a
# worker process. Otherwise it is about 14MB
-# can't convert strings to booleans
-##
-if config['UNICORN_PRELOAD_APP'] == 'true'
- preload_app true
-elsif config['UNICORN_PRELOAD_APP'] == 'false'
- preload_app false
-else
+
preload_app true
-end
# REE - http://www.rubyenterpriseedition.com/faq.html#adapt_apps_for_cow
if config['APP_RUBY'] == 'ree'

0 comments on commit 0ca4e54

Please sign in to comment.