move unicorn config to config/unicorn.rb

This commit is contained in:
Sven Fuchs 2012-10-13 03:15:50 +02:00
parent aa129f6e3b
commit 267bbe8351
3 changed files with 3 additions and 8 deletions

View File

@ -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'

View File

@ -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

View File

@ -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