mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
Merge branch 'redis_improvements' into 'master'
Clean up ExclusiveLease See merge request !3695
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user