lib/sad/config.rb in sad-1.2.0 vs lib/sad/config.rb in sad-1.3.0

- old
+ new

@@ -8,14 +8,14 @@ def namespace @_namespace || 'SadQueue' end def redis=(uri) - @_redis = EM::Hiredis.connect uri + @_redis_url = uri end def redis - @_redis ||= EM::Hiredis.connect + @_redis ||= EM::Hiredis.connect(@_redis_url) end end end end \ No newline at end of file