mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-05-08 22:27:56 +00:00
Update the default number of threads
This commit is contained in:
@@ -926,7 +926,7 @@ pub struct ConcurrencyConfiguration {
|
||||
#[arg(
|
||||
long = "concurrency.number-of-threads",
|
||||
default_value_t = std::thread::available_parallelism()
|
||||
.map(|n| n.get())
|
||||
.map(|n| n.get() * 4 / 6)
|
||||
.unwrap_or(1)
|
||||
)]
|
||||
pub number_of_threads: usize,
|
||||
|
||||
Reference in New Issue
Block a user