diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-16 16:46:26 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-16 16:46:26 +0200 |
commit | e01300ddb0f8a910ac34329a6dabe83b3cbdc69d (patch) | |
tree | 3cd5b07fa208a49f85bb866036f3a1e6451dcbf6 /lib | |
parent | 7348d34cfdb50c1cc3efa2debb093e8019752ac2 (diff) | |
download | gitlab-ce-e01300ddb0f8a910ac34329a6dabe83b3cbdc69d.tar.gz |
Fix update_runner_info helper
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/api/helpers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ci/api/helpers.rb b/lib/ci/api/helpers.rb index 9197f917d73..e602cda81d6 100644 --- a/lib/ci/api/helpers.rb +++ b/lib/ci/api/helpers.rb @@ -1,6 +1,8 @@ module Ci module API module Helpers + UPDATE_RUNNER_EVERY = 60 + def authenticate_runners! forbidden! unless params[:token] == GitlabCi::REGISTRATION_TOKEN end |