Commit 16470597 authored by Nikola Milojevic's avatar Nikola Milojevic

Merge branch '324375-pipeline-hooks-worker-lb' into 'master'

Enable load balancing for PipelineHooksWorker [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!62104
parents 5be7f948 ccc44efc
......@@ -1535,7 +1535,7 @@
:worker_name: PipelineHooksWorker
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :high
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
......
......@@ -7,8 +7,8 @@ class PipelineHooksWorker # rubocop:disable Scalability/IdempotentWorker
include PipelineQueue
queue_namespace :pipeline_hooks
urgency :high
worker_resource_boundary :cpu
data_consistency :delayed, feature_flag: :load_balancing_for_pipeline_hooks_worker
# rubocop: disable CodeReuse/ActiveRecord
def perform(pipeline_id)
......
---
name: load_balancing_for_pipeline_hooks_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62104
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331424
milestone: '14.0'
type: development
group: group::memory
default_enabled: false
......@@ -22,4 +22,9 @@ RSpec.describe PipelineHooksWorker do
end
end
end
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_pipeline_hooks_worker,
data_consistency: :delayed
end
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