mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
clean up ExclusiveLease
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