radicle-heartwood-lfs/radicle-node
cloudhead a79ca5e8fc
node: Constrain worker channel size
To avoid buffering large amounts of data in the process, we set the
worker channel size to `64`. Keep in mind that this is one
`ChannelEvent`, not one byte. `ChannelEvent::Data` can already contain
an arbitrary amount of data via its `Vec<u8>`, but in practice the
maximum is 8192, due to the use of `io::copy`.

We also remove an unused function, and move the flushing to the
`ChannelFlushWriter`.
2024-07-03 14:15:45 +02:00
..
src node: Constrain worker channel size 2024-07-03 14:15:45 +02:00
Cargo.toml node: Fix Tor full-proxy mode support 2024-06-21 16:16:51 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00