canvas-lms/lib/canvas/migration
Jeremy Stanley 7912c4b209 expire content migration jobs after 48 hours
test plan:
 - in a console, do
   Setting.set('content_migration_job_expiration_hours', -1)
 - try to do course copies and course imports.
   they should fail with "job expired" errors.
 - go back to the console and undo the expire-migration-jobs-
   -in-the-past setting with the following:
   Setting.remove('content_migration_job_expiration_hours')
 - now migration jobs should work again

fixes CNVS-25113

Change-Id: I2578c3e124276a950b73b4402f30625d8738a6c3
Reviewed-on: https://gerrit.instructure.com/68867
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2015-12-16 20:29:32 +00:00
..
helpers use preload instead of include on associations 2015-09-08 20:32:41 +00:00
validators no more dynamic finders (lib) 2014-09-23 16:53:56 +00:00
worker expire content migration jobs after 48 hours 2015-12-16 20:29:32 +00:00
archive.rb cleanup refactor of Rubocop's Lint/DeprecatedClassMethods 2015-04-28 18:38:24 +00:00
error.rb create framework for importing standards from a vendor 2012-09-17 15:22:36 -06:00
migrator.rb cleanup refactor of Rubocop's Lint/DeprecatedClassMethods 2015-04-28 18:38:24 +00:00
migrator_helper.rb include assignments for graded topics/quizzes on import 2015-10-29 19:08:09 +00:00
package_identifier.rb give info on package_identifier errors 2015-07-30 03:42:38 +00:00
worker.rb expire content migration jobs after 48 hours 2015-12-16 20:29:32 +00:00
xml_helper.rb handle UTF-16 error on ruby 2.2 2015-06-10 14:34:42 +00:00