Added a way to manually compact and/or optimize the db

This commit is contained in:
emeric
2024-04-20 23:57:01 +02:00
parent 8cde7ddf43
commit 0780d1ab21
24 changed files with 341 additions and 162 deletions
@@ -459,7 +459,7 @@ namespace lms::scanner
}
bool needUpdateLibrary{};
if (!context.forceScan)
if (!context.scanOptions.fullScan)
{
// Skip file if last write is the same
db::Session& dbSession{ _db.getTLSSession() };