Commit 0b029ad48eaed21b0fe6dbb2ca78f53fb3f577de

Authored by Jacob Vosmaer
1 parent f59a6d8e

Document how to tweak Unicorn workers / timeout

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
README.md
... ... @@ -381,6 +381,17 @@ gitlab_rails['omniauth_providers'] = [
381 381 ]
382 382 ```
383 383  
  384 +### Adjusting Unicorn settings
  385 +
  386 +If you need to adjust the Unicorn timeout or the number of workers you can use
  387 +the following settings in `/etc/gitlab/gitlab.rb`. Run `sudo gitlab-ctl
  388 +reconfigure for the change to take effect.
  389 +
  390 +```ruby
  391 +unicorn['worker_processes'] = 3
  392 +unicorn['worker_timeout'] = 60
  393 +```
  394 +
384 395 ## Backups
385 396  
386 397 ### Creating an application backup
... ...