Commit 88a7dc21 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch '196832-drop-feature-toggle' into 'master'

Resolve "Follow-up from "De-dup project tree entries": Remove feature flag"

Closes #196832

See merge request gitlab-org/gitlab!26575
parents a1114554 143b6c9c
---
title: Optimize project representation in large imports
merge_request: !22598
author:
type: performance
......@@ -43,10 +43,7 @@ module Gitlab
def read_tree_hash
path = File.join(@shared.export_path, 'project.json')
dedup_entries = large_project?(path) &&
Feature.enabled?(:dedup_project_import_metadata, project.group)
@tree_loader.load(path, dedup_entries: dedup_entries)
@tree_loader.load(path, dedup_entries: large_project?(path))
rescue => e
Rails.logger.error("Import/Export error: #{e.message}") # rubocop:disable Gitlab/RailsLogger
raise Gitlab::ImportExport::Error.new('Incorrect JSON format')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment