Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1866402 - Update the cached value in PersistOp::DoDirectoryWork o…
…nly when the value changed in the metadata file; r=dom-storage-reviewers,jari Currently, we call QuotaManager::PersistOrigin even when the origin was already persisted. QuotaManager::PersistOrigin won't try to update the value again, but it will have to do a hash lookup. We can easilly avoid this by calling QuotaManager::PersistOrigin only when the value changed in the metadata file. Differential Revision: https://phabricator.services.mozilla.com/D198668
- Loading branch information