use get_physical for only physical core count
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -507,7 +507,7 @@ fn default_rocksdb_log_time_to_roll() -> usize {
|
||||
}
|
||||
|
||||
fn default_rocksdb_parallelism_threads() -> usize {
|
||||
num_cpus::get() / 2
|
||||
num_cpus::get_physical() / 2
|
||||
}
|
||||
|
||||
// I know, it's a great name
|
||||
|
||||
Reference in New Issue
Block a user