Commit 2b28fa14 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'redis_improvements' into 'master'

Clean up ExclusiveLease

See merge request !3695
parents 0b447a99 33f786b5
......@@ -52,11 +52,6 @@ module Gitlab
private
def redis
# Maybe someday we want to use a connection pool...
@redis ||= Redis.new(url: Gitlab::RedisConfig.url)
end
def redis_key
"gitlab:exclusive_lease:#{@key}"
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