limit sby to one thread each since it seems not to respect job count in parallel mode
All checks were successful
/ test (push) Successful in 46m32s

This commit is contained in:
Jacob Lifshay 2024-10-15 21:32:38 -07:00
parent 42effd1132
commit cb17913004
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c

View file

@ -610,6 +610,7 @@ impl FormalArgs {
}); });
std::fs::write(&sby_file, sby_contents)?; std::fs::write(&sby_file, sby_contents)?;
let mut cmd = process::Command::new(&self.sby); let mut cmd = process::Command::new(&self.sby);
cmd.arg("-j1"); // sby seems not to respect job count in parallel mode
cmd.arg("-f"); cmd.arg("-f");
cmd.arg(sby_file.file_name().unwrap()); cmd.arg(sby_file.file_name().unwrap());
cmd.args(&self.sby_extra_args); cmd.args(&self.sby_extra_args);