Minor cleanup

This commit is contained in:
emeric
2025-06-23 20:26:12 +02:00
parent 6bfc769cab
commit c1b73f9b76
2 changed files with 5 additions and 12 deletions
@@ -36,11 +36,6 @@
namespace lms::scanner
{
namespace
{
constexpr std::size_t batchSize = 100;
}
bool ScanStepCheckForRemovedFiles::needProcess([[maybe_unused]] const ScanContext& context) const
{
// always check for removed files
@@ -90,6 +85,8 @@ namespace lms::scanner
objectsToRemove.clear();
{
constexpr std::size_t batchSize = 100;
auto transaction{ session.createReadTransaction() };
endReached = true;