summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-04-13 16:22:45 +0000
committerRobert Speicher <robert@gitlab.com>2016-04-13 16:22:45 +0000
commit2b28fa14b30c3eb7277cbe98695cc6ea4cfa3be9 (patch)
tree32ebcecbe73125f7f71cfe55bff0a7ec4a207b21 /lib
parent0b447a9977fa44fd52d404dc10c66d8ef756ce11 (diff)
parent33f786b5d32d02a032af9d258167ddd2bb61d44a (diff)
downloadgitlab-ce-2b28fa14b30c3eb7277cbe98695cc6ea4cfa3be9.tar.gz
Merge branch 'redis_improvements' into 'master'
Clean up ExclusiveLease See merge request !3695
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/exclusive_lease.rb5
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