Skip to content

Commit

Permalink
cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoBjorn committed Jan 2, 2025
1 parent 5dfc612 commit 73c14a7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions compute_tools/src/bin/fast_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ pub(crate) async fn main() -> anyhow::Result<()> {
.args(["-c", &format!("max_parallel_workers={nproc}")])
.args(["-c", &format!("max_parallel_workers_per_gather={nproc}")])
.args(["-c", &format!("max_worker_processes={nproc}")])
.args(["-c", &format!("effective_io_concurrency={}", if cfg!(target_os = "macos") { 0 } else { 100 })])
.args([
"-c",
&format!(
"effective_io_concurrency={}",
if cfg!(target_os = "macos") { 0 } else { 100 }
),
])
.env_clear()
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::piped())
Expand Down Expand Up @@ -242,7 +248,7 @@ pub(crate) async fn main() -> anyhow::Result<()> {
}
}
}
Err(_) => continue
Err(_) => continue,
}
}

Expand Down

0 comments on commit 73c14a7

Please sign in to comment.