• Nick Thomas's avatar
    Import gitlab_projects.rb from gitlab-shell · 4b785df2
    Nick Thomas authored
    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
    4b785df2