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

20211022214523_schedule_recalculate_vulnerability_finding_signatures_for_findings.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 105d5ec98f4325c0660f29bdf2f0dc18358b8ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class ScheduleRecalculateVulnerabilityFindingSignaturesForFindings < Gitlab::Database::Migration[1.0]
  MIGRATION = 'RecalculateVulnerabilityFindingSignaturesForFindings'
  BATCH_SIZE = 1_000
  DELAY_INTERVAL = 2.minutes

  disable_ddl_transaction!

  def up
    # no-op based on https://docs.gitlab.com/ee/development/background_migrations.html#rescheduling-background-migrations
  end

  def down
    # no-op
  end
end