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:
Diffstat (limited to 'app/workers/project_daily_statistics_worker.rb')
-rw-r--r--app/workers/project_daily_statistics_worker.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/workers/project_daily_statistics_worker.rb b/app/workers/project_daily_statistics_worker.rb
deleted file mode 100644
index 02f8958f82a..00000000000
--- a/app/workers/project_daily_statistics_worker.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-# Deprecated: https://gitlab.com/gitlab-org/gitlab/-/issues/214585
-class ProjectDailyStatisticsWorker # rubocop:disable Scalability/IdempotentWorker
- include ApplicationWorker
-
- data_consistency :always
-
- sidekiq_options retry: 3
-
- feature_category :source_code_management
-
- def perform(project_id)
- project = Project.find_by_id(project_id)
-
- return unless project&.repository&.exists?
-
- Projects::FetchStatisticsIncrementService.new(project).execute
- end
-end