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
1 changed files with 3 additions and 2 deletions

View File

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