1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

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();