radicle-heartwood-lfs/radicle-node/src/worker
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
..
fetch radicle: fault tolerant thresholds 2024-04-03 14:30:05 +02:00
channels.rs node: Constrain worker channel size 2024-07-03 14:15:45 +02:00
fetch.rs node: handle removal of cob from cache 2024-04-09 16:06:51 +02:00
garbage.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
upload_pack.rs node: Constrain worker channel size 2024-07-03 14:15:45 +02:00