changed vote wait times to 10 seconds
This commit is contained in:
parent
743ac7b1c4
commit
73df828aa2
@ -51,7 +51,7 @@ public class VoteHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try { // waits 30 seconds before votes get collected
|
try { // waits 30 seconds before votes get collected
|
||||||
Thread.sleep(30*1000);
|
Thread.sleep(10*1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
|
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
|
||||||
}
|
}
|
||||||
@ -154,7 +154,7 @@ public class VoteHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try { // waits 60 seconds before votes get collected
|
try { // waits 60 seconds before votes get collected
|
||||||
Thread.sleep(60*1000);
|
Thread.sleep(10*1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
|
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user