diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-12-05 15:23:34 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-12-05 15:23:34 +0100 |
commit | 01ab15a2b0b180b6be8ad6c0e6886da0bc82e596 (patch) | |
tree | b24c1f0f98db580a39c3ac9ede6ca75415ac9e58 /lib/private/files | |
parent | 36bc6b871f7dbd27e5b764d7a218bfab6dba96c8 (diff) | |
download | nextcloud-server-01ab15a2b0b180b6be8ad6c0e6886da0bc82e596.tar.gz nextcloud-server-01ab15a2b0b180b6be8ad6c0e6886da0bc82e596.zip |
reuse etags when doing a background scan
Diffstat (limited to 'lib/private/files')
-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; } |