From ec333e40a9b8c6432faf01d5fc1abe3526c50e5e Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 5 Apr 2023 13:58:03 +0100 Subject: [PATCH] Change account deletion to six months --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 7652a8f..e454b78 100644 --- a/src/main.py +++ b/src/main.py @@ -54,7 +54,7 @@ else: log.out('main.py: Not updating stations data', "INFO") log.out('main.py: Requesting TTL Index Creation', "INFO") -mongo.createTtlIndex("users", "atime", 31557600) +mongo.createTtlIndex("users", "atime", 15778800) mongo.createTtlIndex("registrations", "time", 1800) # Push version number to database for reporting