Merge branch 'sh-memoize-gitlab-shell' into 'master'
Memoize GitlabShellAdapter for performance and ease of testing See merge request gitlab-org/gitlab-ce!15507
This commit is contained in:
commit
3d67018c16
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
module Gitlab
|
||||
module ShellAdapter
|
||||
def gitlab_shell
|
||||
Gitlab::Shell.new
|
||||
@gitlab_shell ||= Gitlab::Shell.new
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue