summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-14 16:39:40 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-14 16:39:40 +0100
commitaa224c13fc8d9712e634dcb3843c73d3838fb20a (patch)
tree0a6729b9462b778ac918bba1e6c1c2b08293b5a1 /app/workers
parent0d43815620f96a061d7bc5c2c53748cac879c518 (diff)
downloadgitlab-ce-aa224c13fc8d9712e634dcb3843c73d3838fb20a.tar.gz
typo-o
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/build_queue_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/build_queue_worker.rb b/app/workers/build_queue_worker.rb
index 1ec020039cf..4cb910e90ca 100644
--- a/app/workers/build_queue_worker.rb
+++ b/app/workers/build_queue_worker.rb
@@ -7,7 +7,7 @@ class BuildQueueWorker
project.runners.select do |runner|
if runner.can_pick?(build)
# Inject last_update into Redis
- Gitlab::Redis.with do |redis]
+ Gitlab::Redis.with do |redis|
new_update = Time.new.inspect
redis.set(runner_redis_key(runner), new_update, ex: 60.minutes)
end