lib/split.rb in split-1.2.1 vs lib/split.rb in split-1.3.0
- old
+ new
@@ -51,10 +51,10 @@
# Returns the current Redis connection. If none has been created, will
# create a new one.
def redis
return @redis if @redis
- self.redis = ENV.fetch('REDIS_URL', 'localhost:6379')
+ self.redis = self.configuration.redis_url
self.redis
end
# Call this method to modify defaults in your initializers.
#