BigW Consortium Gitlab

Commit f80654c4 by Stan Hu

Memoize GitlabShellAdapter for performance and ease of testing

parent 9a8f094e
......@@ -5,7 +5,7 @@
module Gitlab
module ShellAdapter
def gitlab_shell
Gitlab::Shell.new
@gitlab_shell ||= Gitlab::Shell.new
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment