1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-24 17:12:16 +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 = let threads =
if self.flag_threads == 0 { if self.flag_threads == 0 {
cmp::min(6, num_cpus::get()) cmp::min(8, num_cpus::get())
} else { } else {
self.flag_threads self.flag_threads
}; };