Change account deletion to six months

This commit is contained in:
Fred Boniface 2023-04-05 13:58:03 +01:00
parent cab6a429e2
commit ec333e40a9

View File

@ -54,7 +54,7 @@ else:
log.out('main.py: Not updating stations data', "INFO") log.out('main.py: Not updating stations data', "INFO")
log.out('main.py: Requesting TTL Index Creation', "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) mongo.createTtlIndex("registrations", "time", 1800)
# Push version number to database for reporting # Push version number to database for reporting