From ec791f26163f805aa60069d8d5571b247d32cb07 Mon Sep 17 00:00:00 2001 From: Vladimir Sharshov Date: Mon, 19 Mar 2012 19:45:44 +0400 Subject: [PATCH] Fix for non restart unicorn with zero time deploy http://unicorn.bogomips.org/SIGNALS.html (about 'preload_app') --- config/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index 3c9d52f89..c6a1b0ee5 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -29,7 +29,7 @@ stdout_path File.join(base_path, 'log', 'unicorn.stdout.log') # combine REE with "preload_app true" for memory savings # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow -preload_app true +#preload_app true before_fork do |server, worker| ##