Suggestion about performing a blocking I/O operation on the main thread
FunkyNico opened this issue ยท 1 comments
The Problem
I found this suggestion from another spigot plugin called Lagmonitor : Make stop the plugin from doing a blocking I/O operation on the main thread because this could affect the server performance, the thread pauses until it gets the response.
A Solution
Such operations should be performed asynchronous from the main thread. Besides gameplay performance it could also improve startup time.
Alternatives
No response
Anything Else?
Worldedit Version: 7.2.12 / Server: Purpur-1762 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 39e30d6 on HEAD).