lib/metricize/shared.rb in metricize-0.5.0 vs lib/metricize/shared.rb in metricize-0.5.1
- old
+ new
@@ -13,9 +13,10 @@
def initialize_redis(options)
@queue_host = options[:queue_host] || '127.0.0.1'
@queue_port = options[:queue_port] || 6379
@queue_name = options[:queue_name] || 'metricize_queue'
+ establish_redis_connection
end
def establish_logger(options)
@logger = options[:logger] || Logger.new(STDOUT)
end