radicle-heartwood-lfs/radicle-node
Alexis Sellier 5fa677c5fb
node: Fix worker fetch deadlock
It turns out it's possible to create a deadlock when using
`child.wait()` with `Stdio::piped()`, if we don't read the output while
the child process is running. This is because the pipe has an internal
kernel buffer that will eventually fill up, causing the child process to
block on writing to stdout and never exit.

To remedy this situation, we read the stdout in a thread while the child
process is running.
2023-05-23 16:12:52 +02:00
..
src node: Fix worker fetch deadlock 2023-05-23 16:12:52 +02:00
Cargo.toml Update dependencies 2023-05-10 15:56:21 +02:00
Dockerfile Build container images for deployment 2022-12-14 17:15:40 +01:00
radicle-node.service node: systemd file 2023-03-31 15:48:32 +02:00