From 0d2d14f7d4b21c24126f59fb2cda02314134041b Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 20 Jan 2023 22:05:26 +0000 Subject: Change Redis.hset to Redis.set so each caching can have a separate expiration --- wqflask/wqflask/marker_regression/run_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3