Commit 6d3ce34e authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'make-create-downstream-pipeline-worker-high-urgency' into 'master'

Move CreateDownstreamPipelineWorker to high priority queue

See merge request gitlab-org/gitlab!76841
parents 1ac753b0 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:
......
...@@ -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|
......
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