Change frequency of save-to-storage blocking stats

In order to prepare for support of non-persistent background
process.
This commit is contained in:
Raymond Hill 2023-11-25 11:22:26 -05:00
parent 187c06fe01
commit 5a338b7210
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -109,9 +109,9 @@ import {
};
const saveTimer = vAPI.defer.create(shouldSave);
const saveDelay = { min: 4 };
const saveDelay = { sec: 23 };
saveTimer.on(saveDelay);
saveTimer.onidle(saveDelay);
µb.saveLocalSettings = function() {
localSettingsLastSaved = Date.now();