trabajo-afectivo/app/jobs/async_import_job.rb

13 lines
287 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://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