diff options
author | Valery Sizov <valery@gitlab.com> | 2016-04-13 13:12:05 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-04-13 13:12:05 +0300 |
commit | 33f786b5d32d02a032af9d258167ddd2bb61d44a (patch) | |
tree | 2992f2d7de7630db8eb4ae95a6e221d1bb735013 /lib/gitlab/exclusive_lease.rb | |
parent | 8cb41f19891e4f39c64abd6b2a273625103c5f43 (diff) |
clean up ExclusiveLease
Diffstat (limited to 'lib/gitlab/exclusive_lease.rb')
-rw-r--r-- | lib/gitlab/exclusive_lease.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/exclusive_lease.rb b/lib/gitlab/exclusive_lease.rb index c2260a5f7ac..ffe49364379 100644 --- a/lib/gitlab/exclusive_lease.rb +++ b/lib/gitlab/exclusive_lease.rb @@ -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 |