From 757e5cb8a4fc25ddacde849747da2f3e41dd7e73 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Wed, 21 Dec 2011 15:46:06 +0000 Subject: Ensure we only parse emails when needed by referring to a new last_parsed field on incoming_messages. Currently mails are always parsed just-in-time, but could be parsed as a queue in the future. --- app/models/info_request.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index e9d1f84dc..cfef6ebd8 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -453,7 +453,6 @@ public self.save! end self.info_request_events.each { |event| event.xapian_mark_needs_index } # for the "waiting_classification" index - incoming_message.parse_raw_email! RequestMailer.deliver_new_response(self, incoming_message) end -- cgit v1.2.3