File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ impl NyxHelper {
4545 Error :: illegal_argument ( format ! ( "Failed to load Nyx config from share dir: {e}" ) )
4646 } ) ?;
4747 nyx_config. set_input_buffer_size ( settings. input_buffer_size ) ;
48+ nyx_config. set_aux_buffer_size ( settings. aux_buffer_size ) ;
4849 nyx_config. set_process_role ( match settings. parent_cpu_id {
4950 None => NyxProcessRole :: StandAlone ,
5051 Some ( parent_cpu_id) if parent_cpu_id == settings. cpu_id => NyxProcessRole :: Parent ,
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ pub struct NyxSettings {
4444 #[ builder( default = DEFAULT_TIMEOUT_SECS ) ]
4545 pub timeout_secs : u8 ,
4646
47+ /// The output buffer size (in bytes) used to record the stdout/stderr messages
48+ #[ builder( default = 32768 ) ]
49+ pub aux_buffer_size : usize ,
50+
4751 /// Additional timeout in microseconds that gets added to
4852 /// `timeout_secs`.
4953 #[ builder( default = DEFAULT_TIMEOUT_MICRO_SECS ) ]
You can’t perform that action at this time.
0 commit comments