You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Problem
The setup and teardown of each request made to the nailgun server in `pantsd` had become quite complicated over time... and consequently, slower than it needed to be.
### Solution
Port `pantsd`'s nailgun server to rust using the `nails` crate. Additionally, remove the `Exiter` class, which had accumulated excess responsibilities that can instead be handled by returning `ExitCode` values. Finally, fix a few broken windows including: double logging to pantsd, double help output, closed file errors on pantsd shutdown, and redundant setup codepaths.
### Result
There is less code to maintain, and runs of `./pants --enable-pantsd help` take `~1.7s`, of which `~400ms` are spent in the server. Fixes#9448, fixes#8243, fixes#8206, fixes#8127, fixes#7653, fixes#7613, fixes#7597.
NailgunStreamWriter probably shouldn't grab the socket without a lock
Within
DaemonPantsRunner#_pipe_stdio(..)
-NailgunStreamWriter.open_multi(maybe_shutdown_socket.socket, types, ttys)
The text was updated successfully, but these errors were encountered: