Commit 33f786b5 authored by Valery Sizov's avatar Valery Sizov

clean up ExclusiveLease

parent 8cb41f19
...@@ -52,11 +52,6 @@ module Gitlab ...@@ -52,11 +52,6 @@ module Gitlab
private private
def redis
# Maybe someday we want to use a connection pool...
@redis ||= Redis.new(url: Gitlab::RedisConfig.url)
end
def redis_key def redis_key
"gitlab:exclusive_lease:#{@key}" "gitlab:exclusive_lease:#{@key}"
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