Change removal time of user to 3 months

This commit is contained in:
Fred Boniface 2023-04-07 23:06:07 +01:00
parent ec333e40a9
commit d1dc291370

View File

@ -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", 15778800)
mongo.createTtlIndex("users", "atime", 2629800)
mongo.createTtlIndex("registrations", "time", 1800)
# Push version number to database for reporting