lib/staccato/rack/page_view.rb in staccato-rack-0.4.2 vs lib/staccato/rack/page_view.rb in staccato-rack-0.4.3

- old
+ new

@@ -20,10 +20,10 @@ def track!(default_tracker, tracking_id, request) page_view_params = marshal_dump if page_view_params[:client_id] tracker = Staccato.tracker(tracking_id, page_view_params[:client_id]) do |c| - c.adapter = FaradayHttpAdaper.new(logger) unless tracking_id == nil + c.adapter = FaradayAsyncHttpAdaper.new(logger) unless tracking_id.nil? end else tracker = default_tracker end track_hit(tracker, page_view_params, request)