Fixed RSS schedule timer
This commit is contained in:
parent
8d2648a895
commit
52aad0a7a1
|
@ -164,7 +164,7 @@ public class BiscuitGuild {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
|
ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
|
||||||
scheduler.scheduleAtFixedRate(post, 0, 1, TimeUnit.MINUTES);
|
scheduler.scheduleAtFixedRate(post, 0, 10, TimeUnit.MINUTES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue