Optimized the differential scan step by using threads to check files

This commit is contained in:
emeric
2025-07-19 17:10:15 +02:00
parent 97866d6143
commit 37c75f8677
7 changed files with 162 additions and 87 deletions
@@ -194,7 +194,7 @@ namespace lms::scanner
{
auto transaction{ session.createReadTransaction() };
context.currentStepStats.totalElems = session.getTotalFilesCount();
context.currentStepStats.totalElems = session.getFileStats().getTotalFileCount();
}
LMS_LOG(DBUPDATER, DEBUG, context.currentStepStats.totalElems << " files to be checked...");