How to set Omnibus Gitlab unicorn workers count

Stop your gitlab instance

sudo gitlab-ctl stop

Edit file
/etc/gitlab/gitlab.rb


Uncomment and set unicorn workers count

#!/bin/sh
##################
# GitLab Unicorn #
##################
## Tweak unicorn settings.

# unicorn['worker_timeout'] = 60
unicorn['worker_processes'] = 1

Популярные сообщения