diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-12-21 15:46:06 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-12-21 15:46:06 +0000 |
commit | 757e5cb8a4fc25ddacde849747da2f3e41dd7e73 (patch) | |
tree | 5cb1632f1338c1c72d6567fc5822fc10972ff77e /app/models/info_request.rb | |
parent | ef29e5ef9618a4b1e965408df87ed2f4217da6ae (diff) |
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.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |