move unicorn config to config/unicorn.rb
This commit is contained in:
parent
aa129f6e3b
commit
267bbe8351
2
Procfile
2
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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user