Skip to content

Commit 5e0a003

Browse files
Merge pull request #61861 from nextcloud/backport/61511/stable33
[stable33] Fix the ScanFiles job to not trigger scans of root directory for every single user
2 parents 98448ac + 5a5bdfe commit 5e0a003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files/lib/BackgroundJob/ScanFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function runScanner(string $user): void {
4747
$this->dispatcher,
4848
$this->logger
4949
);
50-
$scanner->backgroundScan('');
50+
$scanner->backgroundScan('/' . $user);
5151
} catch (\Exception $e) {
5252
$this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'files']);
5353
}

0 commit comments

Comments
 (0)