mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01: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:
parent
187c06fe01
commit
5a338b7210
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user