Merge branch 'redis_improvements' into 'master'

Clean up ExclusiveLease

See merge request !3695
This commit is contained in:
Robert Speicher
2016-04-13 16:22:45 +00:00
-5
View File
@@ -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