diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-12-05 18:23:34 +0400 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-12-08 03:15:50 +0400 |
commit | 605fa4a444cf2de5deee22e6e298e095eab4c20a (patch) | |
tree | 037a251357572519e7305b078610fb21f5d30333 /lib | |
parent | b6ecff93e1b1e79205d30fc471e9d56997861596 (diff) |
reuse etags when doing a background scan
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/cache/scanner.php | 2 |
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; } |