Skip to content

Import forked repositories asynchronously to prevent large repositories from timing out

Stan Hu requested to merge stanhu/gitlab-ce:forked-repo-creation-async into master

Preserve synchronous mode of adding a repository since some tasks (e.g. restore/check) require the former.

One side bug fix is that the ProjectCacheWorker is also run, updating the repository size and commit numbers properly. Previously all the values were set to 0 when a project were forked.

Merge request reports