trabajo-afectivo/app/jobs/async_import_job.rb

14 lines
288 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class AsyncImportJob < ApplicationJob
# See config/initializers/delayed_jobs_timeout_per_job.rb for details.
def self.max_run_time
7.days
end
def perform(import_job)
import_job.start
end
end