async_import_job.rb 288 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class AsyncImportJob < ApplicationJob
  3. # See config/initializers/delayed_jobs_timeout_per_job.rb for details.
  4. def self.max_run_time
  5. 7.days
  6. end
  7. def perform(import_job)
  8. import_job.start
  9. end
  10. end