• Nick Thomas's avatar
    Import gitlab_projects.rb from gitlab-shell · 28a98db7
    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
    28a98db7
shell_spec.rb 24.1 KB