mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
respect WEB_CONCURRENCY env in unicorn.rb.example
...like the example unicorn config for heroku does: 5868c7b4b2/deployment/heroku/unicorn.rb (L3)
This commit is contained in:
parent
2c9b9bb29c
commit
3506faad51
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ wd = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
||||||
|
|
||||||
app_path = wd
|
app_path = wd
|
||||||
|
|
||||||
worker_processes 2
|
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 2)
|
||||||
preload_app true
|
preload_app true
|
||||||
timeout 180
|
timeout 180
|
||||||
listen "#{wd}/tmp/sockets/unicorn.socket"
|
listen "#{wd}/tmp/sockets/unicorn.socket"
|
||||||
|
|
Loading…
Add table
Reference in a new issue