aboutsummaryrefslogtreecommitdiff
path: root/qc_app/parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/parse.py')
-rw-r--r--qc_app/parse.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qc_app/parse.py b/qc_app/parse.py
index ec9962b..1a1b686 100644
--- a/qc_app/parse.py
+++ b/qc_app/parse.py
@@ -52,7 +52,8 @@ def parse():
with Redis.from_url(app.config["REDIS_URL"], decode_responses=True) as rconn:
job = jobs.launch_job(
rconn, filepath, filetype, app.config["REDIS_URL"],
- f"{app.config['UPLOAD_FOLDER']}/job_errors")
+ f"{app.config['UPLOAD_FOLDER']}/job_errors",
+ app.config["JOBS_TTL_SECONDS"])
return redirect(url_for("parse.parse_status", job_id=job["job_id"]))