diff options
Diffstat (limited to 'lib/gitlab/import_export/json/streaming_serializer.rb')
-rw-r--r-- | lib/gitlab/import_export/json/streaming_serializer.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/gitlab/import_export/json/streaming_serializer.rb b/lib/gitlab/import_export/json/streaming_serializer.rb index fb8d6e7d89b..d893c8dfaa3 100644 --- a/lib/gitlab/import_export/json/streaming_serializer.rb +++ b/lib/gitlab/import_export/json/streaming_serializer.rb @@ -6,15 +6,10 @@ module Gitlab class StreamingSerializer include Gitlab::ImportExport::CommandLineUtil - BATCH_SIZE = 100 - SMALLER_BATCH_SIZE = 2 + BATCH_SIZE = 2 def self.batch_size(exportable) - if Feature.enabled?(:export_reduce_relation_batch_size, exportable) - SMALLER_BATCH_SIZE - else - BATCH_SIZE - end + BATCH_SIZE end class Raw < String |