Commit 431a9a2c authored by Imre Farkas's avatar Imre Farkas

Merge branch '336285-global-search-cpu-bound-worker-annotation' into 'master'

Add worker_resource_boundary to Global Search workers

See merge request gitlab-org/gitlab!66760
parents 195e1ebf 52f63393
......@@ -82,7 +82,7 @@
:feature_category: :global_search
:has_external_dependencies:
:urgency: :throttled
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -963,7 +963,7 @@
:feature_category: :global_search
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
......@@ -1009,7 +1009,7 @@
:feature_category: :global_search
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......
......@@ -8,6 +8,7 @@ class ElasticAssociationIndexerWorker # rubocop:disable Scalability/IdempotentWo
sidekiq_options retry: 3
feature_category :global_search
worker_resource_boundary :cpu
tags :exclude_from_kubernetes
loggable_arguments 0, 2
......
......@@ -4,6 +4,7 @@ class ElasticIndexBulkCronWorker # rubocop:disable Scalability/IdempotentWorker
include Elastic::BulkCronWorker
feature_category :global_search
worker_resource_boundary :cpu
urgency :throttled
# Even though this worker is idempotent, until https://gitlab.com/gitlab-org/gitlab/-/issues/325291 is done
# we can't use it with read-only database replicas
......
......@@ -6,6 +6,7 @@ class ElasticNamespaceIndexerWorker # rubocop:disable Scalability/IdempotentWork
data_consistency :always
feature_category :global_search
worker_resource_boundary :cpu
sidekiq_options retry: 2
loggable_arguments 1
......
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