1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

remove unneeded namespace setter

This commit is contained in:
Max Spransy 2012-02-09 09:39:27 -06:00
parent e1ce920b15
commit 7813cc1cb6

View file

@ -16,6 +16,7 @@ module Sidekiq
def self.connect
r = Redis.connect(:url => url)
if namespace
Redis::Namespace.new(namespace, :redis => r)
else
@ -30,9 +31,5 @@ module Sidekiq
def self.url
@url || ENV['REDISTOGO_URL'] || 'redis://localhost:6379/0'
end
def self.namespace=(namespace)
@namespace = namespace
end
end
end