diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-12-05 15:23:34 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-12-06 19:19:10 +0100 |
commit | 713651738cd8fdaf247428bb0b22d02195c4fa5f (patch) | |
tree | bff5c5f550d9f88edb4e6e2f168552223c94d6a4 /lib/private/files/cache/scanner.php | |
parent | 14752454659968fcd7c561df5ddc81dcd015ff22 (diff) | |
download | nextcloud-server-713651738cd8fdaf247428bb0b22d02195c4fa5f.tar.gz nextcloud-server-713651738cd8fdaf247428bb0b22d02195c4fa5f.zip |
reuse etags when doing a background scan
Diffstat (limited to 'lib/private/files/cache/scanner.php')
-rw-r--r-- | lib/private/files/cache/scanner.php | 2 |
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; } |