Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 21:25:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 21:25:58 +0300
commita5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch)
treefb69158581673816a8cd895f9d352dcb3c678b1e /app/workers/build_hooks_worker.rb
parentd16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff)
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'app/workers/build_hooks_worker.rb')
-rw-r--r--app/workers/build_hooks_worker.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/app/workers/build_hooks_worker.rb b/app/workers/build_hooks_worker.rb
index be79d6b2afb..a0d1d9dca45 100644
--- a/app/workers/build_hooks_worker.rb
+++ b/app/workers/build_hooks_worker.rb
@@ -9,17 +9,7 @@ class BuildHooksWorker # rubocop:disable Scalability/IdempotentWorker
queue_namespace :pipeline_hooks
feature_category :continuous_integration
urgency :high
- data_consistency :delayed, feature_flag: :load_balancing_for_build_hooks_worker
-
- DATA_CONSISTENCY_DELAY = 3
-
- def self.perform_async(*args)
- if Feature.enabled?(:delayed_perform_for_build_hooks_worker, default_enabled: :yaml)
- perform_in(DATA_CONSISTENCY_DELAY.seconds, *args)
- else
- super
- end
- end
+ data_consistency :delayed
# rubocop: disable CodeReuse/ActiveRecord
def perform(build_id)