From eae1cf34cb6e58393d6f74caf9b9541e5e29fcfc Mon Sep 17 00:00:00 2001
From: Matthias Kaeppler <mkaeppler@gitlab.com>
Date: Tue, 15 Jun 2021 17:15:34 +0200
Subject: [PATCH] Drop load-balancing FF in PipelineHooksWorker

Changelog: removed
---
 app/workers/pipeline_hooks_worker.rb                      | 2 +-
 .../load_balancing_for_pipeline_hooks_worker.yml          | 8 --------
 spec/workers/pipeline_hooks_worker_spec.rb                | 1 -
 3 files changed, 1 insertion(+), 10 deletions(-)
 delete mode 100644 config/feature_flags/development/load_balancing_for_pipeline_hooks_worker.yml

diff --git a/app/workers/pipeline_hooks_worker.rb b/app/workers/pipeline_hooks_worker.rb
index 97e6adbbf1825..40d138752b4f9 100644
--- a/app/workers/pipeline_hooks_worker.rb
+++ b/app/workers/pipeline_hooks_worker.rb
@@ -8,7 +8,7 @@ class PipelineHooksWorker # rubocop:disable Scalability/IdempotentWorker
 
   queue_namespace :pipeline_hooks
   worker_resource_boundary :cpu
-  data_consistency :delayed, feature_flag: :load_balancing_for_pipeline_hooks_worker
+  data_consistency :delayed
 
   # rubocop: disable CodeReuse/ActiveRecord
   def perform(pipeline_id)
diff --git a/config/feature_flags/development/load_balancing_for_pipeline_hooks_worker.yml b/config/feature_flags/development/load_balancing_for_pipeline_hooks_worker.yml
deleted file mode 100644
index 8e1794631f528..0000000000000
--- a/config/feature_flags/development/load_balancing_for_pipeline_hooks_worker.yml
+++ /dev/null
@@ -1,8 +0,0 @@
----
-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
diff --git a/spec/workers/pipeline_hooks_worker_spec.rb b/spec/workers/pipeline_hooks_worker_spec.rb
index 5957b355c8e7a..0ed00c0c66afe 100644
--- a/spec/workers/pipeline_hooks_worker_spec.rb
+++ b/spec/workers/pipeline_hooks_worker_spec.rb
@@ -25,6 +25,5 @@
 
   it_behaves_like 'worker with data consistency',
                   described_class,
-                  feature_flag: :load_balancing_for_pipeline_hooks_worker,
                   data_consistency: :delayed
 end
-- 
GitLab