From ebabf7de0102f45347b36bb14cd80e0b00397377 Mon Sep 17 00:00:00 2001 From: manson Date: Fri, 15 Aug 2014 19:39:28 +0800 Subject: [PATCH] disable preload_app of unicron, possible fix for random errors --- config/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index 6a221b7..a3daec0 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -6,7 +6,7 @@ rails_root = `pwd`.gsub("\n", "") rails_env = ENV['RAILS_ENV'] || 'production' worker_processes (rails_env == 'production' ? 4 : 2) -preload_app true +# preload_app true timeout 30