From 640f9b040ca2ff3487358ef75ba676ac0a922078 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 24 Oct 2024 15:47:55 -0500 Subject: Update Redis prefix settings. --- uploader/default_settings.py | 2 +- uploader/jobs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'uploader') 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"" 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.""" -- cgit v1.2.3