From 1822e893586e13334cc66d59efbe03c1ffb48b66 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 23 Jan 2024 10:30:47 +0300 Subject: Add prefix to redis keys Since the GNQC application might find itself sharing the same redis server and/or database with other applications, add a prefix to its keys. --- etc/default_config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/default_config.py b/etc/default_config.py index 5bafd1a..45272de 100644 --- a/etc/default_config.py +++ b/etc/default_config.py @@ -10,6 +10,7 @@ SECRET_KEY = b"" UPLOAD_FOLDER = "/tmp/qc_app_files" REDIS_URL = "redis://" JOBS_TTL_SECONDS = 1209600 # 14 days +GNQC_REDIS_PREFIX="GNQC" GN3_URL="http://localhost:8080" SQL_URI = os.getenv( "SQL_URI", "mysql://gn2:mysql_password@localhost/db_webqtl_s") -- cgit v1.2.3