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:
parent
fa8112ec34
commit
cb0f8fd2fa
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user