Commit 63ecb57f authored by Matija Čupić's avatar Matija Čupić

Handle updating only contacted_at runner cache

parent 3be6f68a
...@@ -193,7 +193,7 @@ module Ci ...@@ -193,7 +193,7 @@ module Ci
Gitlab::Redis::SharedState.with do |redis| Gitlab::Redis::SharedState.with do |redis|
redis.set("#{runner_info_redis_cache_key}:contacted_at", Time.now) redis.set("#{runner_info_redis_cache_key}:contacted_at", Time.now)
params.each do |key, value| params && params.each do |key, value|
redis_key = "#{runner_info_redis_cache_key}:#{key}" redis_key = "#{runner_info_redis_cache_key}:#{key}"
redis.set(redis_key, value) redis.set(redis_key, value)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment