lib/chronicle/etl/extractors/extractor.rb in chronicle-etl-0.2.3 vs lib/chronicle/etl/extractors/extractor.rb in chronicle-etl-0.2.4
- old
+ new
@@ -25,10 +25,13 @@
def results_count; end
private
def handle_continuation
- @options[:load_since] = @options[:continuation].highest_timestamp if @options[:continuation] && @options[:continuation].highest_timestamp
+ return unless @options[:continuation]
+
+ @options[:load_since] = @options[:continuation].highest_timestamp if @options[:continuation].highest_timestamp
+ @options[:load_after_id] = @options[:continuation].last_id if @options[:continuation].last_id
end
end
end
end