aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-12-03 11:17:05 -0600
committerzsloan2019-12-03 11:17:05 -0600
commitc08f9410f30b6d46841de9d55969f832a6db6575 (patch)
tree8f61e5ed3355e7ec9001afeaef0fa18f7e6febb2 /wqflask
parent13786ffcb00bd3bf7864a76ef9b1078da0b355c5 (diff)
downloadgenenetwork2-c08f9410f30b6d46841de9d55969f832a6db6575.tar.gz
Increased expiration time for anonymous collections to a year
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/user_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/user_manager.py b/wqflask/wqflask/user_manager.py
index 3298c244..bf403536 100644
--- a/wqflask/wqflask/user_manager.py
+++ b/wqflask/wqflask/user_manager.py
@@ -70,7 +70,7 @@ class AnonUser(object):
members = new_collection.get_members())
Redis.set(self.key, json.dumps(collection_dict))
- Redis.expire(self.key, 60 * 60 * 24 * 30)
+ Redis.expire(self.key, 60 * 60 * 24 * 365)
def delete_collection(self, collection_name):
existing_collections = self.get_collections()