summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-06 10:13:14 -0800
committerVincent Petry <pvince81@owncloud.com>2013-12-06 10:13:14 -0800
commit123bc9921a0369582b547cd3d8abc7d466d1f7f3 (patch)
tree8ecf889e916454361af4ae4f057030f3f738ac3d /lib/private/files/cache
parent575a68074fbaa9614ad746bf589d843998a2cb3c (diff)
parent9eca2471b3e8b75c21a1a8fd2a88c20c577c07bc (diff)
downloadnextcloud-server-123bc9921a0369582b547cd3d8abc7d466d1f7f3.tar.gz
nextcloud-server-123bc9921a0369582b547cd3d8abc7d466d1f7f3.zip
Merge pull request #6201 from owncloud/backgroundscan-reuse-etag
reuse etags when doing a background scan
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r--lib/private/files/cache/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php
index 34184c68c64..a8c069ee99f 100644
--- a/lib/private/files/cache/scanner.php
+++ b/lib/private/files/cache/scanner.php
@@ -286,7 +286,7 @@ class Scanner extends BasicEmitter {
public function backgroundScan() {
$lastPath = null;
while (($path = $this->cache->getIncomplete()) !== false && $path !== $lastPath) {
- $this->scan($path);
+ $this->scan($path, self::SCAN_RECURSIVE, self::REUSE_ETAG);
$this->cache->correctFolderSize($path);
$lastPath = $path;
}