Loading of the recommendation engine now controlled by scanner. Bonus: better control/reporting
This commit is contained in:
@@ -43,7 +43,7 @@ ScanStats::nbChanges() const
|
||||
unsigned
|
||||
ScanStepStats::progress() const
|
||||
{
|
||||
return (processedFiles / static_cast<float>(filesToProcess ? filesToProcess : 1)) * 100;
|
||||
return (processedElems / static_cast<float>(totalElems ? totalElems : 1)) * 100;
|
||||
}
|
||||
|
||||
} // namespace Scanner
|
||||
|
||||
Reference in New Issue
Block a user