fix: parallel scan on multiple sources

This commit is contained in:
evenyag
2024-12-03 19:26:10 +08:00
parent adc374c9a3
commit 56952095a8

View File

@@ -621,7 +621,7 @@ impl ScanInput {
sources: Vec<Source>,
semaphore: Arc<Semaphore>,
) -> Result<Vec<Source>> {
if sources.len() > 1 {
if sources.len() <= 1 {
return Ok(sources);
}