Change inactive account age threshold from 365 to 180 days

This commit is contained in:
Jon Chambers
2023-05-25 16:16:35 -04:00
committed by Jon Chambers
parent 70b54e227e
commit a5f853c67a
2 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ public class AccountCleaner extends AccountDatabaseCrawlerListener {
}
private static boolean isExpired(Account account) {
return account.getLastSeen() + TimeUnit.DAYS.toMillis(365) < System.currentTimeMillis();
return account.getLastSeen() + TimeUnit.DAYS.toMillis(180) < System.currentTimeMillis();
}
}