Skip to main content

MAX_DETAIL_BYTES

Constant MAX_DETAIL_BYTES 

Source
pub const MAX_DETAIL_BYTES: usize = 2_000;
Expand description

Ceiling on DelegationOutcome::detail, the one field built from something a child wrote.

child_launch already bounds the stderr tail to its last 20 lines; this bounds the bytes, so a child that logged one enormous line cannot grow the text the parent’s agent reads.