diff --git a/Procfile b/Procfile index 0f8b579f68b..7049931e7a8 100644 --- a/Procfile +++ b/Procfile @@ -1,4 +1,4 @@ -web: bundle exec unicorn --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"} +web: bundle exec unicorn --config-file config/unicorn.rb --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"} worker: bundle exec rake jobs:work backup: ./packaging/scripts/backup check: ./packaging/scripts/check diff --git a/config/unicorn.rb b/config/unicorn.rb new file mode 100644 index 00000000000..6280236bf12 --- /dev/null +++ b/config/unicorn.rb @@ -0,0 +1,3 @@ +worker_processes Integer(ENV["WEB_CONCURRENCY"] || 1) +timeout 15 +preload_app false