diff options
author | BonfaceKilz | 2021-02-24 18:17:06 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-03-08 21:09:58 +0300 |
commit | d266756d26e78e77b99515802de51ec1151a7abb (patch) | |
tree | 50446df697585eae267741b475aee314cceca6e4 /gn3/api/gemma.py | |
parent | fde7e47975bcdc936b95f527a4880409ff54cf3e (diff) | |
download | genenetwork3-d266756d26e78e77b99515802de51ec1151a7abb.tar.gz |
Make the name of the redis job queue configurable
Diffstat (limited to 'gn3/api/gemma.py')
-rw-r--r-- | gn3/api/gemma.py | 1 |
1 files changed, 1 insertions, 0 deletions
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_" |