aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-23 10:30:47 +0300
committerFrederick Muriuki Muriithi2024-01-23 12:31:01 +0300
commit1822e893586e13334cc66d59efbe03c1ffb48b66 (patch)
tree51a871d5b21c3b92bc238783426a53f3e6b03cd0 /etc
parent340376f2e9abba95b3c34495d6fd1c0b38235956 (diff)
downloadgn-uploader-1822e893586e13334cc66d59efbe03c1ffb48b66.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/default_config.py1
1 files changed, 1 insertions, 0 deletions
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"<Please! Please! Please! Change This!>"
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")