Use 2 workers in development

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-03-19 20:56:31 +02:00
parent 729b358ff2
commit 41e981740f
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -0,0 +1,2 @@
worker_processes 2
timeout 30