Fixed
- Rewrote handler logic for the power actions lock to hopefully address issues people have been having when a server crashes and they're unable to start it again until restarting Wings.
- Fixes files uploaded with SFTP not being owned by the Pterodactyl user.
- Fixes excessive memory usage when large lines are sent through the console event handler.
Changed
- Replaced usage of
encoding/json
throughout the codebase with a more performant encoder (goccy/go-json
) to hopefully improve overall performance for JSON operations. - Added custom
ContainerInspect
function to handle direct calls to Docker's CLI and make use of the new JSON encoder logic. This should reduce the total number of memory allocations and be more performant overall in a hot pathway.
SHA256 Checksum
60a8be3b78a62c665982cfe120e21f6308042319a2380540ee37020bab2c9a3c wings_linux_amd64
f883996b53ed0119a4d993a133faa1e4acfc5d6daca276ec5d55a1193c4ffc38 wings_linux_arm64