Commit 197eb789 authored by Matthias Kaeppler's avatar Matthias Kaeppler

Scope feature flag to `gitlab-org`

parent d936bda7
......@@ -19,7 +19,8 @@ module Gitlab
# some optimizations only yield amortized gains above a certain
# project size, see https://gitlab.com/gitlab-org/gitlab/issues/27070
def new_for_file(project_json_path)
if Feature.enabled?(:dedup_project_import_metadata) && large_project?(project_json_path)
if Feature.enabled?(:dedup_project_import_metadata, Group.find_by_path('gitlab-org')) &&
large_project?(project_json_path)
ProjectTreeProcessor.new
else
IdentityProjectTreeProcessor.new
......
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