From c08f9410f30b6d46841de9d55969f832a6db6575 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 3 Dec 2019 11:17:05 -0600 Subject: Increased expiration time for anonymous collections to a year --- wqflask/wqflask/user_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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() -- cgit v1.2.3