diff --git a/src/database/rocksdb/opts.rs b/src/database/rocksdb/opts.rs index a7fc4818..2c8b793c 100644 --- a/src/database/rocksdb/opts.rs +++ b/src/database/rocksdb/opts.rs @@ -22,7 +22,7 @@ pub(crate) fn db_options(config: &Config, env: &mut Env, row_cache: &Cache, col_ // Processing let threads = if config.rocksdb_parallelism_threads == 0 { - num_cpus::get_physical() // max cores if user specified 0 + num_cpus::get() // max cores if user specified 0 } else { config.rocksdb_parallelism_threads };