summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJustin DiPierro <dipierroj@gmail.com>2016-09-29 12:46:54 -0400
committerJustin DiPierro <dipierroj@gmail.com>2016-10-06 11:22:37 -0400
commitfe46e4eb35dd6728a8a5ebcee9cc05a4613effbf (patch)
tree241a0fad11b7719f193f3deb6b8818c37159ec8c /config
parent9a13f885a9dc7b072d41160a6d3db965c9114b4b (diff)
downloadgitlab-ce-fe46e4eb35dd6728a8a5ebcee9cc05a4613effbf.tar.gz
Load Github::Shell's secret token from file on initialization instead of every request.
Diffstat (limited to 'config')
-rw-r--r--config/initializers/gitlab_shell_secret_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/gitlab_shell_secret_token.rb b/config/initializers/gitlab_shell_secret_token.rb
index 7454c33c9dd..529dcdd4644 100644
--- a/config/initializers/gitlab_shell_secret_token.rb
+++ b/config/initializers/gitlab_shell_secret_token.rb
@@ -1 +1 @@
-Gitlab::Shell.new.generate_and_link_secret_token
+Gitlab::Shell.ensure_secret_token!