diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-16 15:58:28 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-16 15:58:28 +0000 |
commit | f4920b769f95c3fb024cc78db8a3fad6c6f8e46b (patch) | |
tree | 002921418529fc8a28365d410f67b38821dbf728 /lib/ci/api | |
parent | 421d055371dcf5d4b62be39878c6d7085b50f3fe (diff) | |
parent | 2b20603f5a7e419defc4bd58d9fce63924c843d8 (diff) | |
download | gitlab-ce-f4920b769f95c3fb024cc78db8a3fad6c6f8e46b.tar.gz |
Merge branch 'fix-gitlab-ci-in-ce' into 'master'
Fix first bunch of regressions in GitLab CI
/cc @vsizov @dzaporozhets
See merge request !1312
Diffstat (limited to 'lib/ci/api')
-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 |