Commit 52f1c0e1041e83d111e54adcbf55850dbddc9ce4

Authored by Jacob Vosmaer
1 parent f5716057

Document how to tweak Unicorn workers / timeout

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
README.md
... ... @@ -395,6 +395,17 @@ gitlab_rails['omniauth_providers'] = [
395 395 ]
396 396 ```
397 397  
  398 +### Adjusting Unicorn settings
  399 +
  400 +If you need to adjust the Unicorn timeout or the number of workers you can use
  401 +the following settings in `/etc/gitlab/gitlab.rb`. Run `sudo gitlab-ctl
  402 +reconfigure for the change to take effect.
  403 +
  404 +```ruby
  405 +unicorn['worker_processes'] = 3
  406 +unicorn['worker_timeout'] = 60
  407 +```
  408 +
398 409 ## Backups
399 410  
400 411 ### Creating an application backup
... ...