Only update the etag. Do not re-submit any other unchanged data.
This commit is contained in:
parent
a2f82da572
commit
011bca7b7f
1 changed files with 3 additions and 2 deletions
5
lib/files/cache/scanner.php
vendored
5
lib/files/cache/scanner.php
vendored
|
@ -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),
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue