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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/github_import/parallel_scheduling.rb')
-rw-r--r--lib/gitlab/github_import/parallel_scheduling.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/github_import/parallel_scheduling.rb b/lib/gitlab/github_import/parallel_scheduling.rb
index 97de2a49e72..ab20b372d53 100644
--- a/lib/gitlab/github_import/parallel_scheduling.rb
+++ b/lib/gitlab/github_import/parallel_scheduling.rb
@@ -207,13 +207,8 @@ module Gitlab
end
# Default batch settings for parallel import (can be redefined in Importer classes)
- # Example: { size: 100, delay: 1.minute }
def parallel_import_batch
- if Feature.enabled?(:distribute_github_parallel_import, default_enabled: :yaml)
- { size: 1000, delay: 1.minute }
- else
- {}
- end
+ { size: 1000, delay: 1.minute }
end
def abort_on_failure