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

@ -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();