mirror of
https://github.com/nushell/nushell.git
synced 2025-01-23 06:39:17 +01:00
91e17d2f9f
Prior to this change, a pipeline of externals would result in high memory usage if any of the producers in the chain, produced data faster than the consumers. For example a pipeline: > fast-producer | slow-consumer Would cause a build up of `Value::{String,Binary}`'s in the mpsc channels between each command as values are added to the channels faster than they are consumed, eventually OOM'ing depnding on system resources, the volume of data and speed diff. between fast v's slow. This change replaces the unbounded channels with bounded channels to limit the number of values that can build up and providing back-pressure to limit ram usage. |
||
---|---|---|
.. | ||
assets | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |