[Autotest] Update Database timeout to timeout_mins.
This change adds a timeout_mins column to the afe_jobs table and updates
exisiting jobs to include this entry.
Also updates the django models that reflect afe_jobs.
BUG=chromium:221264
DEPLOY=migrate, scheduler
TEST=Ran migration, checked column is in db, scheduler_models_unittest.py,
ran smoke suite on local AFE.
Change-Id: I09f8b6023a31dcef37e98c298dc0d63b37bc0a9e
Reviewed-on: https://chromium-review.googlesource.com/173916
Reviewed-by: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
diff --git a/global_config.ini b/global_config.ini
index 6bb63ed..4d5a66d 100644
--- a/global_config.ini
+++ b/global_config.ini
@@ -7,6 +7,7 @@
user: chromeosqa-admin
password: USE SHADOW PASSWORD
job_timeout_default: 24
+job_timeout_mins_default: 1440
job_max_runtime_mins_default: 1440
parse_failed_repair_default: 0
# Only set this if your server is not 'http://[SERVER] hostname/afe/'