clean up ExclusiveLease

This commit is contained in:
Valery Sizov 2016-04-13 13:12:05 +03:00
parent 8cb41f1989
commit 33f786b5d3
1 changed files with 0 additions and 5 deletions

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