Full width home advertisement

Post Page Advertisement [Top]

Stop your gitlab instance

sudo gitlab-ctl stop

Edit file
/opt/gitlab/sv/sidekiq/run


Set your workers count

#!/bin/sh

cd /var/opt/gitlab/gitlab-rails/working

exec 2>&1

exec chpst -e /opt/gitlab/etc/gitlab-rails/env -P \
  -U git -u git \
  /opt/gitlab/embedded/bin/bundle exec sidekiq \
    # ADD THE LINE BELOW AND SET NUMBER OF WORKERS
    -c 3 \  # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SET NUMBER OF WORKERS HERE
    -q post_receive \
    -q mailer \
    -q system_hook \
    -q project_web_hook \
    -q gitlab_shell \
    -q common \
    -q default \
    -e production \
    -r /opt/gitlab/embedded/service/gitlab-rails \
    -t 4

Комментариев нет:

Отправить комментарий

Bottom Ad [Post Page]

| Дизайн Colorlib