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
5678e86f
Commit
5678e86f
authored
Jul 27, 2021
by
Nick Nguyen
Committed by
Douglas Barbosa Alexandre
Jul 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare Geo SidekiqCronConfigWorker as CPU bound
parent
fc60f4e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ee/app/workers/all_queues.yml
ee/app/workers/all_queues.yml
+1
-1
ee/app/workers/geo/sidekiq_cron_config_worker.rb
ee/app/workers/geo/sidekiq_cron_config_worker.rb
+1
-0
No files found.
ee/app/workers/all_queues.yml
View file @
5678e86f
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
:feature_category: :geo_replication
:feature_category: :geo_replication
: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/geo/sidekiq_cron_config_worker.rb
View file @
5678e86f
...
@@ -13,6 +13,7 @@ module Geo
...
@@ -13,6 +13,7 @@ module Geo
# rubocop:enable Scalability/CronWorkerContext
# rubocop:enable Scalability/CronWorkerContext
feature_category
:geo_replication
feature_category
:geo_replication
worker_resource_boundary
:cpu
def
perform
def
perform
Gitlab
::
Geo
::
CronManager
.
new
.
execute
Gitlab
::
Geo
::
CronManager
.
new
.
execute
...
...
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