Import gitlab_projects.rb from gitlab-shell
By importing this Ruby code into gitlab-rails (and gitaly-ruby), we avoid
200ms of startup time for each gitlab_projects subprocess we are eliminating.
By not having a gitlab_projects subprocess between gitlab-rails / sidekiq and
any git subprocesses (e.g. for fork_project, fetch_remote, etc, calls), we can
also manage these git processes more cleanly, and avoid sending SIGKILL to them
Showing
lib/gitlab/git/gitlab_projects.rb
0 → 100644
spec/lib/gitlab/git/gitlab_projects_spec.rb
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment