From d266756d26e78e77b99515802de51ec1151a7abb Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 24 Feb 2021 18:17:06 +0300 Subject: Make the name of the redis job queue configurable --- gn3/api/gemma.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gn3/api') diff --git a/gn3/api/gemma.py b/gn3/api/gemma.py index c145eb4..bdba26e 100644 --- a/gn3/api/gemma.py +++ b/gn3/api/gemma.py @@ -68,6 +68,7 @@ file output is returned. return jsonify( unique_id=queue_cmd(conn=redis.Redis(), email=data.get("email"), + job_queue=app_defaults.get("REDIS_JOB_QUEUE"), cmd=f"{k_computation_cmd} && {gwa_cmd}"), status="queued", output_file=(f"{data.get('dataset_name')}_GWA_" -- cgit v1.2.3