class ImportJob
  def perform
    load File.expand_path("#{Rails.root}/lib/tasks/import.thor", __FILE__)
    Import::Start.new.invoke_all
  end

  def max_attempts
    1
  end
end

class ImportJob
  def perform
    load File.expand_path("#{Rails.root}/lib/tasks/import.thor", __FILE__)
    Import::Start.new.invoke_all
  end

  def max_attempts
    1
  end

  def max_run_time
    6.hours
  end

end

Increase max run time to 6 hours
Increase max run time to 6 hours

+ https://github.com/studentinsights/studentinsights/issues/1023#issuecomment-330038945
