mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 20:38:07 +02:00
Don't schedule a delayed load task on startup (#1130)
This commit is contained in:
parent
4c891f0819
commit
381922fc02
@ -166,7 +166,6 @@ public abstract class AbstractLuckPermsPlugin implements LuckPermsPlugin {
|
|||||||
if (mins > 0) {
|
if (mins > 0) {
|
||||||
getBootstrap().getScheduler().asyncRepeating(() -> this.updateTaskBuffer.request(), mins, TimeUnit.MINUTES);
|
getBootstrap().getScheduler().asyncRepeating(() -> this.updateTaskBuffer.request(), mins, TimeUnit.MINUTES);
|
||||||
}
|
}
|
||||||
getBootstrap().getScheduler().asyncLater(() -> this.updateTaskBuffer.request(), 2, TimeUnit.SECONDS);
|
|
||||||
|
|
||||||
// run an update instantly.
|
// run an update instantly.
|
||||||
getLogger().info("Performing initial data load...");
|
getLogger().info("Performing initial data load...");
|
||||||
|
Loading…
Reference in New Issue
Block a user