Move deletion to one minute.
This commit is contained in:
parent
490be5a35a
commit
5ada5de01e
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user