1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00

Bump default thread count to 8.

This commit is contained in:
Andrew Gallant 2016-09-11 00:42:39 -04:00
parent fa8112ec34
commit cb0f8fd2fa

View File

@ -288,7 +288,7 @@ impl RawArgs {
};
let threads =
if self.flag_threads == 0 {
cmp::min(6, num_cpus::get())
cmp::min(8, num_cpus::get())
} else {
self.flag_threads
};