Move timer back to reduce bandwith.
This commit is contained in:
parent
46513d7a9c
commit
25c791c3b5
@ -9,11 +9,11 @@ public class delegationTimer {
|
||||
{
|
||||
final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
|
||||
final Runnable runnable = new Runnable() {
|
||||
int countdownStarter = 1;
|
||||
int countdownStarter = 3;
|
||||
public void run() {
|
||||
countdownStarter--;
|
||||
if (countdownStarter <= 0) {
|
||||
countdownStarter = 1;
|
||||
countdownStarter = 3;
|
||||
delegationServices.delegate();
|
||||
scheduler.shutdown();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user