Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-29 19:21:30 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-01-29 19:21:30 +0300
commit397442a06140a8cf38bebe3f4519311b1448f23d (patch)
tree842174ffdf6abd6b78467090bb79b442ea59e389 /lib/api/runner.rb
parent0be8b3cdf677f8b20be820ad3f6fdd4b9b08fc56 (diff)
Update runner info on all authenticated requests
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r--lib/api/runner.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb
index 80feb629d54..50cb1df92ad 100644
--- a/lib/api/runner.rb
+++ b/lib/api/runner.rb
@@ -78,7 +78,6 @@ module API
post '/request' do
authenticate_runner!
no_content! unless current_runner.active?
- update_runner_info
if current_runner.runner_queue_value_latest?(params[:last_update])
header 'X-GitLab-Last-Update', params[:last_update]