Skip to content

Commit

Permalink
log: add message about number of threads used
Browse files Browse the repository at this point in the history
Closes #2122
  • Loading branch information
BurntSushi committed Nov 25, 2023
1 parent 3f0c8c2 commit b138d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/flags/hiargs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ impl HiArgs {
} else {
std::thread::available_parallelism().map_or(1, |n| n.get()).min(12)
};
log::debug!("using {threads} thread(s)");
let with_filename = low
.with_filename
.unwrap_or_else(|| low.vimgrep || !paths.is_one_file);
Expand Down

0 comments on commit b138d57

Please sign in to comment.