Only update the etag. Do not re-submit any other unchanged data.

This commit is contained in:
Andreas Fischer 2013-09-20 23:53:02 +02:00
parent a2f82da572
commit 011bca7b7f

View file

@ -120,8 +120,9 @@ class Scanner extends BasicEmitter {
$parent = ''; $parent = '';
} }
$parentCacheData = $this->cache->get($parent); $parentCacheData = $this->cache->get($parent);
$parentCacheData['etag'] = $this->storage->getETag($parent); $this->cache->update($parentCacheData['fileid'], array(
$this->cache->update($parentCacheData['fileid'], $parentCacheData); 'etag' => $this->storage->getETag($parent),
));
} }
} }
} }