aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-24 15:47:55 -0500
committerFrederick Muriuki Muriithi2024-10-24 15:48:44 -0500
commit640f9b040ca2ff3487358ef75ba676ac0a922078 (patch)
treeff3b951ea7c4d11d6e238cd427443c18b0462d73 /uploader
parent1cfdcf000e1ae95d54ca90fbbbafa6ff94090d38 (diff)
downloadgn-uploader-640f9b040ca2ff3487358ef75ba676ac0a922078.tar.gz
Update Redis prefix settings.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/default_settings.py2
-rw-r--r--uploader/jobs.py2
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."""