summaryrefslogtreecommitdiff
path: root/lib/gitlab/patch/sidekiq_cron_poller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/patch/sidekiq_cron_poller.rb')
-rw-r--r--lib/gitlab/patch/sidekiq_cron_poller.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/gitlab/patch/sidekiq_cron_poller.rb b/lib/gitlab/patch/sidekiq_cron_poller.rb
deleted file mode 100644
index 56ca24c68f5..00000000000
--- a/lib/gitlab/patch/sidekiq_cron_poller.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-module Gitlab
- module Patch
- module SidekiqCronPoller
- def enqueue
- Rails.application.reloader.wrap do
- ::Gitlab::WithRequestStore.with_request_store do
- super
- ensure
- ::Gitlab::Database::LoadBalancing.release_hosts
- end
- end
- end
- end
- end
-end