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
79df1d45
Commit
79df1d45
authored
Dec 15, 2021
by
Fabio Pitino
Committed by
Grzegorz Bizon
Dec 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move CreateDownstreamPipelineWorker to high priority queue
parent
0a332d1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/workers/all_queues.yml
app/workers/all_queues.yml
+1
-1
app/workers/ci/create_downstream_pipeline_worker.rb
app/workers/ci/create_downstream_pipeline_worker.rb
+1
-0
No files found.
app/workers/all_queues.yml
View file @
79df1d45
...
@@ -1577,7 +1577,7 @@
...
@@ -1577,7 +1577,7 @@
:worker_name: Ci::CreateDownstreamPipelineWorker
:worker_name: Ci::CreateDownstreamPipelineWorker
:feature_category: :continuous_integration
:feature_category: :continuous_integration
:has_external_dependencies:
:has_external_dependencies:
:urgency: :
low
:urgency: :
high
:resource_boundary: :cpu
:resource_boundary: :cpu
:weight:
3
:weight:
3
:idempotent:
:idempotent:
...
...
app/workers/ci/create_downstream_pipeline_worker.rb
View file @
79df1d45
...
@@ -7,6 +7,7 @@ module Ci
...
@@ -7,6 +7,7 @@ module Ci
sidekiq_options
retry:
3
sidekiq_options
retry:
3
worker_resource_boundary
:cpu
worker_resource_boundary
:cpu
urgency
:high
def
perform
(
bridge_id
)
def
perform
(
bridge_id
)
::
Ci
::
Bridge
.
find_by_id
(
bridge_id
).
try
do
|
bridge
|
::
Ci
::
Bridge
.
find_by_id
(
bridge_id
).
try
do
|
bridge
|
...
...
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