diff options
author | Robert Speicher <robert@gitlab.com> | 2016-04-13 16:22:45 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-04-13 16:22:45 +0000 |
commit | 2b28fa14b30c3eb7277cbe98695cc6ea4cfa3be9 (patch) | |
tree | 32ebcecbe73125f7f71cfe55bff0a7ec4a207b21 /lib | |
parent | 0b447a9977fa44fd52d404dc10c66d8ef756ce11 (diff) | |
parent | 33f786b5d32d02a032af9d258167ddd2bb61d44a (diff) | |
download | gitlab-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.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 |