Commit 79df1d45 authored by Fabio Pitino's avatar Fabio Pitino Committed by Grzegorz Bizon

Move CreateDownstreamPipelineWorker to high priority queue

parent 0a332d1d
...@@ -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