diff --git a/app/jobs/export_job.rb b/app/jobs/export_job.rb index 91bb9e1f7..a1ee18f14 100644 --- a/app/jobs/export_job.rb +++ b/app/jobs/export_job.rb @@ -1,6 +1,8 @@ class ExportJob < ApplicationJob queue_as :exports + discard_on ActiveRecord::RecordNotFound + def perform(export) export.compute end