Move deletion to one minute.

This commit is contained in:
James Quinley 2022-02-08 17:02:54 -08:00
parent 490be5a35a
commit 5ada5de01e
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import java.util.Date;
import java.util.Properties;
public class emailVerify {
/*
This will handle both account creation verify and login verify tasks, it will not verify for token based logins as
that form of login is client controlled and no user input is allowed, hacked clients are also locked out of the network
@ -49,7 +48,6 @@ public class emailVerify {
System.err.println("Was Not Sent Because Of An Error.");
}
}
private static class SMTPAuthenticator extends
javax.mail.Authenticator {
public PasswordAuthentication

View File

@ -25,11 +25,11 @@ public class delegationTimer {
{
final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
final Runnable runnable = new Runnable() {
int countdownStarter = 15;
int countdownStarter = 60;
public void run() {
countdownStarter--;
if (countdownStarter <= 0) {
countdownStarter = 15;
countdownStarter = 60;
delegationServices.Clear();
//flushes all requests from the server
scheduler.shutdown();