BlueMap
BlueMap copied to clipboard
Switch to webserver using a virtual-thread per connection
This PR reimplements the webserver for a better to read implemementation using blocking-io but a virtual-thread per connection.
This PR should only be merged once BlueMap depends on Java 24 or higher. In earlier Java versions the virtual-threads can lead to deadlocks when accessing a database due to neccesary synchronized blocks in the database connection-pool leading to thread-pinning.
Thread-Pinning has been fixed in Java 24.