Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
52f63393
Commit
52f63393
authored
Jul 26, 2021
by
Changzheng Liu
Committed by
Imre Farkas
Jul 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add worker_resource_boundary to Global Search workers
parent
5629c6c7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
ee/app/workers/all_queues.yml
ee/app/workers/all_queues.yml
+3
-3
ee/app/workers/elastic_association_indexer_worker.rb
ee/app/workers/elastic_association_indexer_worker.rb
+1
-0
ee/app/workers/elastic_index_bulk_cron_worker.rb
ee/app/workers/elastic_index_bulk_cron_worker.rb
+1
-0
ee/app/workers/elastic_namespace_indexer_worker.rb
ee/app/workers/elastic_namespace_indexer_worker.rb
+1
-0
No files found.
ee/app/workers/all_queues.yml
View file @
52f63393
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
:feature_category: :global_search
:feature_category: :global_search
:has_external_dependencies:
:has_external_dependencies:
:urgency: :throttled
:urgency: :throttled
:resource_boundary: :
unknown
:resource_boundary: :
cpu
:weight:
1
:weight:
1
:idempotent:
:idempotent:
:tags: []
:tags: []
...
@@ -963,7 +963,7 @@
...
@@ -963,7 +963,7 @@
:feature_category: :global_search
:feature_category: :global_search
:has_external_dependencies:
:has_external_dependencies:
:urgency: :low
:urgency: :low
:resource_boundary: :
unknown
:resource_boundary: :
cpu
:weight:
1
:weight:
1
:idempotent:
:idempotent:
:tags:
:tags:
...
@@ -1009,7 +1009,7 @@
...
@@ -1009,7 +1009,7 @@
:feature_category: :global_search
:feature_category: :global_search
:has_external_dependencies:
:has_external_dependencies:
:urgency: :low
:urgency: :low
:resource_boundary: :
unknown
:resource_boundary: :
cpu
:weight:
1
:weight:
1
:idempotent:
:idempotent:
:tags: []
:tags: []
...
...
ee/app/workers/elastic_association_indexer_worker.rb
View file @
52f63393
...
@@ -8,6 +8,7 @@ class ElasticAssociationIndexerWorker # rubocop:disable Scalability/IdempotentWo
...
@@ -8,6 +8,7 @@ class ElasticAssociationIndexerWorker # rubocop:disable Scalability/IdempotentWo
sidekiq_options
retry:
3
sidekiq_options
retry:
3
feature_category
:global_search
feature_category
:global_search
worker_resource_boundary
:cpu
tags
:exclude_from_kubernetes
tags
:exclude_from_kubernetes
loggable_arguments
0
,
2
loggable_arguments
0
,
2
...
...
ee/app/workers/elastic_index_bulk_cron_worker.rb
View file @
52f63393
...
@@ -4,6 +4,7 @@ class ElasticIndexBulkCronWorker # rubocop:disable Scalability/IdempotentWorker
...
@@ -4,6 +4,7 @@ class ElasticIndexBulkCronWorker # rubocop:disable Scalability/IdempotentWorker
include
Elastic
::
BulkCronWorker
include
Elastic
::
BulkCronWorker
feature_category
:global_search
feature_category
:global_search
worker_resource_boundary
:cpu
urgency
:throttled
urgency
:throttled
# Even though this worker is idempotent, until https://gitlab.com/gitlab-org/gitlab/-/issues/325291 is done
# 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
# we can't use it with read-only database replicas
...
...
ee/app/workers/elastic_namespace_indexer_worker.rb
View file @
52f63393
...
@@ -6,6 +6,7 @@ class ElasticNamespaceIndexerWorker # rubocop:disable Scalability/IdempotentWork
...
@@ -6,6 +6,7 @@ class ElasticNamespaceIndexerWorker # rubocop:disable Scalability/IdempotentWork
data_consistency
:always
data_consistency
:always
feature_category
:global_search
feature_category
:global_search
worker_resource_boundary
:cpu
sidekiq_options
retry:
2
sidekiq_options
retry:
2
loggable_arguments
1
loggable_arguments
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment