diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-19 20:56:31 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-20 10:16:17 +0200 |
commit | 41e981740ffc54f68ae5f8fe7b719183cd125094 (patch) | |
tree | f5f2899e25238df2e58a4fd30418dcbdf59c32c2 | |
parent | 729b358ff2981d8931e27fdc33d29b9528232c32 (diff) | |
download | gitlab-ce-41e981740ffc54f68ae5f8fe7b719183cd125094.tar.gz |
Use 2 workers in development
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | Procfile | 2 | ||||
-rw-r--r-- | config/unicorn_development.rb | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 diff --git a/config/unicorn_development.rb b/config/unicorn_development.rb new file mode 100644 index 00000000000..94a7061451d --- /dev/null +++ b/config/unicorn_development.rb @@ -0,0 +1,2 @@ +worker_processes 2 +timeout 30 |