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

View File

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