From 52f1c0e1041e83d111e54adcbf55850dbddc9ce4 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 31 Jul 2014 14:19:46 +0200 Subject: [PATCH] Document how to tweak Unicorn workers / timeout --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 24e8f12..b525d48 100644 --- a/README.md +++ b/README.md @@ -395,6 +395,17 @@ gitlab_rails['omniauth_providers'] = [ ] ``` +### Adjusting Unicorn settings + +If you need to adjust the Unicorn timeout or the number of workers you can use +the following settings in `/etc/gitlab/gitlab.rb`. Run `sudo gitlab-ctl +reconfigure for the change to take effect. + +```ruby +unicorn['worker_processes'] = 3 +unicorn['worker_timeout'] = 60 +``` + ## Backups ### Creating an application backup -- libgit2 0.21.2