Type of bug
Performance issue or memory leak
/ess dump all output
idc
Error log (if applicable)
No response
Bug description
https://github.com/EssentialsX/Essentials/blob/2.x/Essentials/src/main/java/com/earth2me/essentials/perm/impl/LuckPermsHandler.java#L96
loadUser() always retvieves user from DataBase without any caching, you probaly want to use getUser() (get from cache if loaded) firstly and if null then loadUser(). At the context of PlayerServerFullCheckEvent, user should be always loaded.
Steps to reproduce
.
Expected behaviour
not blocking main thread
Actual behaviour
blocking main thread
Additional Information
No response
Type of bug
Performance issue or memory leak
/ess dump alloutputidc
Error log (if applicable)
No response
Bug description
https://github.com/EssentialsX/Essentials/blob/2.x/Essentials/src/main/java/com/earth2me/essentials/perm/impl/LuckPermsHandler.java#L96
loadUser() always retvieves user from DataBase without any caching, you probaly want to use
getUser()(get from cache if loaded) firstly and if null then loadUser(). At the context of PlayerServerFullCheckEvent, user should be always loaded.Steps to reproduce
.
Expected behaviour
not blocking main thread
Actual behaviour
blocking main thread
Additional Information
No response