mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-04 07:28:13 +01: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