Skip to content

Commit

Permalink
fix: resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelScofield committed Jun 3, 2024
1 parent 94fa58e commit 38c7e50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/common/runtime/src/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ pub struct RuntimeOptions {

impl Default for RuntimeOptions {
fn default() -> Self {
let two_fold_cpus = num_cpus::get() * 2;
let cpus = num_cpus::get();
Self {
read_rt_size: two_fold_cpus,
write_rt_size: two_fold_cpus,
bg_rt_size: two_fold_cpus,
read_rt_size: cpus,
write_rt_size: cpus,
bg_rt_size: cpus,
}
}
}
Expand Down

0 comments on commit 38c7e50

Please sign in to comment.