diff options
author | zsloan | 2023-01-20 22:05:26 +0000 |
---|---|---|
committer | zsloan | 2023-02-28 14:18:09 -0600 |
commit | 0d2d14f7d4b21c24126f59fb2cda02314134041b (patch) | |
tree | c06dd50166759b754e68bdeddcaaa150b7351600 | |
parent | d57eb42b5a49f0af91cce67e84186d47576c1372 (diff) | |
download | genenetwork2-0d2d14f7d4b21c24126f59fb2cda02314134041b.tar.gz |
Change Redis.hset to Redis.set so each caching can have a separate expiration
-rw-r--r-- | wqflask/wqflask/marker_regression/run_mapping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py index 4a5dde47..6edf964e 100644 --- a/wqflask/wqflask/marker_regression/run_mapping.py +++ b/wqflask/wqflask/marker_regression/run_mapping.py @@ -53,7 +53,7 @@ class RunMapping: self.hash_of_inputs = dhash.hexdigest() # Just store for one hour on initial load; will be stored for longer if user clicks Share - Redis.hset("mapping", self.hash_of_inputs, inputs_json, ex=60*60) + Redis.set(self.hash_of_inputs, inputs_json, ex=60*60) helper_functions.get_species_dataset_trait(self, start_vars) |