Use 2 workers in development
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
729b358ff2
commit
41e981740f
2 changed files with 3 additions and 1 deletions
2
Procfile
2
Procfile
|
@ -1,2 +1,2 @@
|
|||
web: bundle exec unicorn_rails -p $PORT -E development
|
||||
web: bundle exec unicorn_rails -p $PORT -E development -c config/unicorn_development.rb
|
||||
worker: bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default,gitlab_shell
|
||||
|
|
2
config/unicorn_development.rb
Normal file
2
config/unicorn_development.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
worker_processes 2
|
||||
timeout 30
|
Loading…
Reference in a new issue