fix: improve timeout warning message in the directory scanner (#7120)

This commit is contained in:
David Knaack
2025-11-16 12:47:43 +01:00
committed by GitHub
parent 5736b481e2
commit d6daf8a4e1
+4 -1
View File
@@ -615,7 +615,10 @@ impl DirContents {
if remaining_time <= Duration::from_millis(0) && rx.try_recv().is_err() {
// Timed-out, and rx has been drained.
log::warn!("from_path_with_timeout has timed-out!");
log::warn!("Scanning current directory timed out.");
log::warn!(
"You can set scan_timeout in your config to a higher value to allow longer-running scans to keep executing."
);
break;
}