diff options
author | Justin DiPierro <dipierroj@gmail.com> | 2016-09-29 19:46:54 +0300 |
---|---|---|
committer | Justin DiPierro <dipierroj@gmail.com> | 2016-10-06 18:22:37 +0300 |
commit | fe46e4eb35dd6728a8a5ebcee9cc05a4613effbf (patch) | |
tree | 241a0fad11b7719f193f3deb6b8818c37159ec8c /config | |
parent | 9a13f885a9dc7b072d41160a6d3db965c9114b4b (diff) |
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.rb | 2 |
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! |