diff --git a/compute_tools/src/bin/fast_import.rs b/compute_tools/src/bin/fast_import.rs index 0403ebdd54..c012826fad 100644 --- a/compute_tools/src/bin/fast_import.rs +++ b/compute_tools/src/bin/fast_import.rs @@ -202,7 +202,7 @@ 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", "effective_io_concurrency=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())