Skip to content

Commit

Permalink
fix: ignore files in appdata when counting unscanned files
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny committed Nov 12, 2024
1 parent 2fc7fde commit fbf77d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/BackgroundJob/BackgroundScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ public function getUnscannedFiles() {
$query->expr()->like('path', $query->createNamedParameter('files/%')),
$query->expr()->notLike('s.id', $query->createNamedParameter('home::%'))
))
->andWhere($query->expr()->notLike('fc.path', $query->createNamedParameter('appdata_%')))
->andWhere($this->getSizeLimitExpression($query))
->setMaxResults($this->getBatchSize() * 10);

Expand Down

0 comments on commit fbf77d3

Please sign in to comment.