mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-27 21:23:07 +00:00
Run user cleanup task async and not on Storage init
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -109,7 +109,9 @@ public abstract class FlatfileBacking extends AbstractBacking {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
cleanupUsers();
|
||||
// schedule user cleanup
|
||||
plugin.getScheduler().asyncLater(this::cleanupUsers, 10L);
|
||||
|
||||
setAcceptingLogins(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user