2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2020-10-27 15:36:38 +00:00
|
|
|
class AsyncImportJob < ApplicationJob
|
2021-07-14 18:55:57 +00:00
|
|
|
|
|
|
|
# See config/initializers/delayed_jobs_timeout_per_job.rb for details.
|
|
|
|
def self.max_run_time
|
|
|
|
7.days
|
|
|
|
end
|
|
|
|
|
2020-10-27 15:36:38 +00:00
|
|
|
def perform(import_job)
|
|
|
|
import_job.start
|
|
|
|
end
|
|
|
|
end
|