From 267bbe8351714c30ba4a4b8cff68e22aebdebdb7 Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Sat, 13 Oct 2012 03:15:50 +0200 Subject: [PATCH] move unicorn config to config/unicorn.rb --- Procfile | 2 +- config/unicorn.rb | 5 ++--- unicorn.rb | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 unicorn.rb diff --git a/Procfile b/Procfile index b0f55aa9..946ba530 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ -web: bundle exec unicorn -p $PORT -c ./unicorn.rb +web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb guard: bundle exec guard rerun: rerun -p 'assets/**/*' 'bundle exec rakep' diff --git a/config/unicorn.rb b/config/unicorn.rb index 9498e7c3..74f758e7 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,5 +1,4 @@ +# http://michaelvanrooijen.com/articles/2011/06/01-more-concurrency-on-a-single-heroku-dyno-with-the-new-celadon-cedar-stack/ + worker_processes 3 # amount of unicorn workers to spin up timeout 30 # restarts workers that hang for 15 seconds - -preload_app true - diff --git a/unicorn.rb b/unicorn.rb deleted file mode 100644 index 74f758e7..00000000 --- a/unicorn.rb +++ /dev/null @@ -1,4 +0,0 @@ -# http://michaelvanrooijen.com/articles/2011/06/01-more-concurrency-on-a-single-heroku-dyno-with-the-new-celadon-cedar-stack/ - -worker_processes 3 # amount of unicorn workers to spin up -timeout 30 # restarts workers that hang for 15 seconds