Add multiple jobs support for import task

This commit is contained in:
2025-10-12 17:15:34 +08:00
parent 34a8de51e4
commit 4c16c68921
5 changed files with 82 additions and 30 deletions

View File

@@ -1063,7 +1063,6 @@ impl AsRef<str> for LosslessAudioFormat {
}
}
#[cfg(feature = "utils-threadpool")]
#[allow(unused)]
pub(crate) fn get_default_threads() -> usize {
num_cpus::get().max(2) / 2