Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2020-09-09 00:08:42 +00:00
parent 459939f27f
commit f0809fbc2c
39 changed files with 487 additions and 241 deletions

View File

@ -148,7 +148,7 @@ module Backup
private
def dump_consecutive
Project.includes(:route).find_each(batch_size: 1000) do |project|
Project.includes(:route, :group, namespace: :owner).find_each(batch_size: 1000) do |project|
dump_project(project)
end
end
@ -178,7 +178,7 @@ module Backup
end
end
Project.for_repository_storage(storage).includes(:route).find_each(batch_size: 100) do |project|
Project.for_repository_storage(storage).includes(:route, :group, namespace: :owner).find_each(batch_size: 100) do |project|
break unless errors.empty?
queue.push(project)