diff options
author | Frederick Muriuki Muriithi | 2024-10-24 15:47:55 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-10-24 15:48:44 -0500 |
commit | 640f9b040ca2ff3487358ef75ba676ac0a922078 (patch) | |
tree | ff3b951ea7c4d11d6e238cd427443c18b0462d73 | |
parent | 1cfdcf000e1ae95d54ca90fbbbafa6ff94090d38 (diff) | |
download | gn-uploader-640f9b040ca2ff3487358ef75ba676ac0a922078.tar.gz |
Update Redis prefix settings.
-rw-r--r-- | uploader/default_settings.py | 2 | ||||
-rw-r--r-- | uploader/jobs.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uploader/default_settings.py b/uploader/default_settings.py index 3f096af..1acb247 100644 --- a/uploader/default_settings.py +++ b/uploader/default_settings.py @@ -7,7 +7,7 @@ SECRET_KEY = b"<Please! Please! Please! Change This!>" UPLOAD_FOLDER = "/tmp/qc_app_files" REDIS_URL = "redis://" JOBS_TTL_SECONDS = 1209600 # 14 days -GNQC_REDIS_PREFIX="GNQC" +GNQC_REDIS_PREFIX="gn-uploader" SQL_URI = "" GN2_SERVER_URL = "https://genenetwork.org/" diff --git a/uploader/jobs.py b/uploader/jobs.py index 21889da..4a3fc80 100644 --- a/uploader/jobs.py +++ b/uploader/jobs.py @@ -10,7 +10,7 @@ from typing import Union, Optional from redis import Redis from flask import current_app as app -JOBS_PREFIX = "JOBS" +JOBS_PREFIX = "jobs" class JobNotFound(Exception): """Raised if we try to retrieve a non-existent job.""" |