Skip to content

Commit

Permalink
adjust object store scanner
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Mar 6, 2024
1 parent 1c4dbf9 commit f06b5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/ObjectStore/ObjectStoreScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function backgroundScan() {
* @throws \OCP\DB\Exception
*/
private function getIncomplete() {
$query = $this->connection->getQueryBuilder();
$query = $this->cache->getQueryBuilder();
$query->select('path')
->from('filecache')
->where($query->expr()->eq('storage', $query->createNamedParameter($this->cache->getNumericStorageId(), IQueryBuilder::PARAM_INT)))
Expand Down

0 comments on commit f06b5b8

Please sign in to comment.