diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-02 21:07:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-02 21:07:42 +0300 |
commit | 7b52c7cb634ef7047d30b0337fe477bcdcedf41d (patch) | |
tree | 374ca9e908204488422046f10e340d1500780362 /doc/administration/operations | |
parent | b375c6c05fbd03aea33a9ee9f82e678bdaa8c3cc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/operations')
-rw-r--r-- | doc/administration/operations/extra_sidekiq_processes.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/administration/operations/extra_sidekiq_processes.md b/doc/administration/operations/extra_sidekiq_processes.md index d70e9d1baa5..3ad411f6f5a 100644 --- a/doc/administration/operations/extra_sidekiq_processes.md +++ b/doc/administration/operations/extra_sidekiq_processes.md @@ -115,10 +115,10 @@ following attributes: `source_code_management` category. - `has_external_dependencies` - whether or not the queue connects to external services. For example, all importers have this set to `true`. -- `latency_sensitive` - whether or not the queue is particularly sensitive to - latency, which also means that its jobs should run quickly. For example, the - `authorized_projects` queue is used to refresh user permissions, and is - latency sensitive. +- `urgency` - how important it is that this queue's jobs run + quickly. Can be `high`, `default`, or `none`. For example, the + `authorized_projects` queue is used to refresh user permissions, and + is high urgency. - `name` - the queue name. The other attributes are typically more useful as they are more general, but this is available in case a particular queue needs to be selected. @@ -126,9 +126,9 @@ following attributes: `unknown`. For example, the `project_export` queue is memory bound as it has to load data in memory before saving it for export. -Both `has_external_dependencies` and `latency_sensitive` are boolean attributes: -only the exact string `true` is considered true, and everything else is -considered false. +`has_external_dependencies` is a boolean attribute: only the exact +string `true` is considered true, and everything else is considered +false. ### Available operators @@ -162,10 +162,10 @@ In `/etc/gitlab/gitlab.rb`: sidekiq_cluster['enable'] = true sidekiq_cluster['experimental_queue_selector'] = true sidekiq_cluster['queue_groups'] = [ - # Run all non-CPU-bound queues that are latency sensitive - 'resource_boundary!=cpu&latency_sensitive=true', - # Run all continuous integration and pages queues that are not latency sensitive - 'feature_category=continuous_integration,pages&latency_sensitive=false' + # Run all non-CPU-bound queues that are high urgency + 'resource_boundary!=cpu&urgency=high, + # Run all continuous integration and pages queues that are not high urgency + 'feature_category=continuous_integration,pages&urgency!=high ] ``` |