diff options
author | zsloan | 2023-10-25 19:44:51 +0000 |
---|---|---|
committer | zsloan | 2023-10-25 19:44:51 +0000 |
commit | 418cfaa506c6094477c51ef0c3f0b3f0a8f68a85 (patch) | |
tree | ced80e394e838c7cc32a421a85e38ccd85b51768 /wqflask | |
parent | b595a51da68db023e9822c84aa991f23a22fce0a (diff) | |
download | genenetwork2-418cfaa506c6094477c51ef0c3f0b3f0a8f68a85.tar.gz |
Always cache mapping results for a month, even if Copy and Share isn't clicked
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 7d952874..d2f33b71 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -715,7 +715,7 @@ def mapping_results_page(hash_of_inputs=None): hash_of_inputs = dhash.hexdigest() # Just store for one hour on initial load; will be stored for longer if user clicks Share - Redis.set(hash_of_inputs, inputs_json, ex=60*60) + Redis.set(hash_of_inputs, inputs_json, ex=60*60*24*30) temp_uuid = initial_start_vars['temp_uuid'] wanted = ( |