From d0037daa3738ac754781ce5e55778a2cf9d3d2f7 Mon Sep 17 00:00:00 2001 From: Pratik Date: Wed, 6 Feb 2019 18:28:49 -0600 Subject: Allow skipping incineration of processed emails --- actionmailbox/app/jobs/action_mailbox/incineration_job.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionmailbox/app/jobs') diff --git a/actionmailbox/app/jobs/action_mailbox/incineration_job.rb b/actionmailbox/app/jobs/action_mailbox/incineration_job.rb index 1579a3c7c8..351bd67c69 100644 --- a/actionmailbox/app/jobs/action_mailbox/incineration_job.rb +++ b/actionmailbox/app/jobs/action_mailbox/incineration_job.rb @@ -6,6 +6,9 @@ module ActionMailbox # # Since this incineration is set for the future, it'll automatically ignore any InboundEmails # that have already been deleted and discard itself if so. + # + # You can disable incinerating processed emails by setting +config.action_mailbox.incinerate+ or + # +ActionMailbox.incinerate+ to +false+. class IncinerationJob < ActiveJob::Base queue_as { ActionMailbox.queues[:incineration] } -- cgit v1.2.3