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

recount_epic_cache_counts.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 42f84a33a5ac51287d2010010df91767fc351dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # rubocop: disable Style/Documentation
    class RecountEpicCacheCounts < Gitlab::BackgroundMigration::BatchedMigrationJob
      def perform; end
    end
    # rubocop: enable Style/Documentation
  end
end

# rubocop: disable Layout/LineLength
# we just want to re-enqueue the previous BackfillEpicCacheCounts migration,
# because it's a EE-only migation and it's a module, we just prepend new
# RecountEpicCacheCounts with existing batched migration module (which is same in both cases)
Gitlab::BackgroundMigration::RecountEpicCacheCounts.prepend_mod_with('Gitlab::BackgroundMigration::BackfillEpicCacheCounts')
# rubocop: enable Layout/LineLength