radicle-heartwood-lfs/radicle-node/src
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
..
runtime node: Make sure all channels we use are bounded 2024-06-12 19:00:23 +02:00
service node: Don't panic on connection logic error 2024-06-26 11:31:07 +02:00
test node: Pass `Alias` by reference 2024-06-13 11:28:09 +02:00
tests fetch: remove `.keep` files 2024-05-16 15:47:14 +02:00
wire node: Don't panic on connection logic error 2024-06-26 11:31:07 +02:00
worker node: Constrain worker channel size 2024-07-03 14:15:45 +02:00
bounded.rs node: Use inventory cache for checking missing 2024-05-13 16:37:02 +02:00
control.rs node: Rename certain functions for clarity 2024-06-12 15:36:34 +02:00
deserializer.rs node: Use `BoundedVec` for inbox 2024-05-07 14:49:02 +02:00
lib.rs build: Update env vars for build process 2024-06-20 10:47:50 +02:00
main.rs node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
runtime.rs radicle: Distinguish seeding policy types 2024-06-26 11:57:04 +02:00
service.rs node: Don't panic on connection logic error 2024-06-26 11:31:07 +02:00
test.rs radicle: expose shared logger 2023-12-20 15:11:10 +01:00
tests.rs node: Rename certain functions for clarity 2024-06-12 15:36:34 +02:00
wire.rs node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
worker.rs node: Simplify configuration 2024-06-04 14:08:15 +02:00