Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-12-05 18:23:34 +0400
committerVincent Petry <pvince81@owncloud.com>2013-12-08 03:15:50 +0400
commit605fa4a444cf2de5deee22e6e298e095eab4c20a (patch)
tree037a251357572519e7305b078610fb21f5d30333 /lib
parentb6ecff93e1b1e79205d30fc471e9d56997861596 (diff)
reuse etags when doing a background scan
Diffstat (limited to 'lib')
-rw-r--r--lib/files/cache/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index 429685ce794..23d40fd699d 100644
--- a/lib/files/cache/scanner.php
+++ b/lib/files/cache/scanner.php
@@ -255,7 +255,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;
}