diff options
author | George Claghorn <george@basecamp.com> | 2018-10-06 22:23:19 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-10-06 22:23:48 -0400 |
commit | 1fddb9475fa10f46efd1afd3bb4359645ec495a4 (patch) | |
tree | 9429593e0c54ae79d843d6f739aa8d8f89946e24 /app/jobs | |
parent | a5e023ac204251192f9cb722c0d98695cb3b8400 (diff) | |
download | rails-1fddb9475fa10f46efd1afd3bb4359645ec495a4.tar.gz rails-1fddb9475fa10f46efd1afd3bb4359645ec495a4.tar.bz2 rails-1fddb9475fa10f46efd1afd3bb4359645ec495a4.zip |
Make incineration horizon configurable
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/action_mailbox/inbound_email/incineration_job.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/action_mailbox/inbound_email/incineration_job.rb b/app/jobs/action_mailbox/inbound_email/incineration_job.rb index a2911efef1..d9422a3fa8 100644 --- a/app/jobs/action_mailbox/inbound_email/incineration_job.rb +++ b/app/jobs/action_mailbox/inbound_email/incineration_job.rb @@ -2,7 +2,7 @@ class ActionMailbox::InboundEmail::IncinerationJob < ApplicationJob queue_as :action_mailbox_incineration def self.schedule(inbound_email) - set(wait: ActionMailbox::InboundEmail::Incineratable::INCINERATABLE_AFTER).perform_later(inbound_email) + set(wait: ActionMailbox.incinerate_after).perform_later(inbound_email) end def perform(inbound_email) |