diff --git a/app/models/event.rb b/app/models/event.rb index 366b6dcc7..cc2d4b5f0 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -490,6 +490,7 @@ def self.subj_id_check(options = {}) Rails.logger.warn "[DoubleCheck] DoubleCheck #{response.results.results.length} events starting with _id #{response.results.to_a.first[:_id]}." cursor = response.results.to_a.last[:sort] + Rails.logger.warn "[DoubleCheck] Cursor: #{cursor} " events = response.results.results.map { |item| { uuid: item.uuid, subj_id: item.subj_id } } SubjCheckJob.perform_later(events, options)