Skip to content

Commit 6ebb1d8

Browse files
Merge pull request #61862 from nextcloud/backport/61511/stable34
[stable34] Fix the ScanFiles job to not trigger scans of root directory for every single user
2 parents bf48650 + 8e4adc6 commit 6ebb1d8

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
@@ -52,7 +52,7 @@ protected function runScanner(string $user): void {
5252
$this->logger,
5353
$this->setupManager,
5454
);
55-
$scanner->backgroundScan('');
55+
$scanner->backgroundScan('/' . $user);
5656
} catch (\Exception $e) {
5757
$this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'files']);
5858
}

0 commit comments

Comments
 (0)