зеркало из https://github.com/mozilla/gecko-dev.git
7d0fd78cda
This patch introduces a new notion of unaccessed origins. An origin is considered as unaccessed if its age is older than a threshold (controlled by a new preference, currently set to 13 months). Unaccessed origins are collected during quota info loading. When quota info loading is finished we check if it took a long time (controlled by a new preference, currently set to 21s) and eventually archive unaccessed origins which should speed up temporary storage initialization in a new session. Archiving consits of creating a new directory (archive) under storage/archives/0 directory (the name is based on the current date) and moving unaccessed origin directories to the archive. Once the patch lands, we will be monitoring QM_QUOTA_INFO_LOAD_TIME_V0 telemetry (quota info load time) and eventually lower down the preference for long quota info load time. If there are no issues, the archiving will be replaced with a hard removal of unaccessed origins and also of the archives which were created in the meantime. Differential Revision: https://phabricator.services.mozilla.com/D123049 |
||
---|---|---|
.. | ||
browser | ||
common | ||
gtest | ||
mochitest | ||
xpcshell | ||
moz.build |