Commit 6e9a1c9d authored by Keven Hughes's avatar Keven Hughes Committed by Achilleas Pipinellis

Docs: differentiate sidekiq max_/concurrency

parent effc80e2
......@@ -126,12 +126,26 @@ queues will use three threads in total.
## 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:
```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:
......
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