Skip to content

Commit

Permalink
rename: max_eps_io -> max_eps_fs cli switch
Browse files Browse the repository at this point in the history
  • Loading branch information
qjerome committed Jan 17, 2025
1 parent 18506d0 commit 24e4e55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kunai/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2827,9 +2827,9 @@ struct RunOpt {
#[arg(long)]
max_buffered_events: Option<u16>,

/// Set a maximum number of events per seconds and per CPU for I/O events
/// Set a maximum number of events per seconds and per CPU for file system events
#[arg(long)]
max_eps_io: Option<u64>,
max_eps_fs: Option<u64>,

/// Minimum amount of data sent to trigger a send_data event,
/// set it to 0 to get all send_data events.
Expand Down Expand Up @@ -2893,7 +2893,7 @@ impl TryFrom<RunOpt> for Config {
}

// we want to increase max_buffered_events
if let Some(max_eps_io) = opt.max_eps_io {
if let Some(max_eps_io) = opt.max_eps_fs {
conf.max_eps_fs = Some(max_eps_io);
}

Expand Down

0 comments on commit 24e4e55

Please sign in to comment.