mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue