13 lines
405 B
Ruby
13 lines
405 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BackgroundMigrationWorker # rubocop:disable Scalability/IdempotentWorker
|
|
include BackgroundMigration::SingleDatabaseWorker
|
|
|
|
def self.tracking_database
|
|
@tracking_database ||= Gitlab::BackgroundMigration::DEFAULT_TRACKING_DATABASE
|
|
end
|
|
|
|
def self.unhealthy_metric_name
|
|
@unhealthy_metric_name ||= :background_migration_database_health_reschedules
|
|
end
|
|
end
|