Add elapsed time when scanner does not detect any new changes

This commit is contained in:
Deluan 2020-12-13 20:48:16 -05:00
parent ea09629803
commit a241865209

View File

@ -112,7 +112,7 @@ func (s *TagScanner) Scan(ctx context.Context, lastModifiedSince time.Time, prog
deletedDirs := s.getDeletedDirs(ctx, allFSDirs, allDBDirs)
if len(deletedDirs)+len(changedDirs) == 0 {
log.Debug(ctx, "No changes found in Music Folder", "folder", s.rootFolder)
log.Debug(ctx, "No changes found in Music Folder", "folder", s.rootFolder, "elapsed", time.Since(start))
return nil
}