Commit cdccbb1c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-update-extra-sidekiq-processes-max-concurrency-setting' into 'master'

Docs: differentiate sidekiq max_/concurrency

See merge request gitlab-org/gitlab!20397
parents effc80e2 6e9a1c9d
...@@ -126,12 +126,26 @@ queues will use three threads in total. ...@@ -126,12 +126,26 @@ queues will use three threads in total.
## Limiting concurrency ## Limiting concurrency
To limit the concurrency of the Sidekiq processes: To limit the concurrency of the Sidekiq process:
1. Edit `/etc/gitlab/gitlab.rb` and add: 1. Edit `/etc/gitlab/gitlab.rb` and add:
```ruby ```ruby
sidekiq_cluster['concurrency'] = 25 sidekiq['concurrency'] = 25
```
1. Save the file and reconfigure GitLab for the changes to take effect:
```sh
sudo gitlab-ctl reconfigure
```
To limit the max concurrency of the Sidekiq cluster processes:
1. Edit `/etc/gitlab/gitlab.rb` and add:
```ruby
sidekiq_cluster['max_concurrency'] = 25
``` ```
1. Save the file and reconfigure GitLab for the changes to take effect: 1. Save the file and reconfigure GitLab for the changes to take effect:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment