mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Forgot to lower update period limit to 6-hour
This commit is contained in:
parent
9a81f75cfa
commit
153783cfaa
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ const parseExpires = s => {
|
|||
if ( matches === null ) { return 0; }
|
||||
let updateAfter = parseInt(matches[1], 10);
|
||||
if ( matches[2] === 'h' ) {
|
||||
updateAfter = Math.ceil(updateAfter / 12) / 2;
|
||||
updateAfter = Math.ceil(updateAfter / 6) / 4;
|
||||
}
|
||||
return updateAfter;
|
||||
};
|
||||
|
@ -1262,7 +1262,7 @@ async function diffUpdater() {
|
|||
assetCacheSetDetails(data.name, metadata);
|
||||
updaterUpdated.push(data.name);
|
||||
} else if ( data.error ) {
|
||||
ubolog(`Diff updater: failed to diff-update ${data.name}, reason: ${data.error}`);
|
||||
ubolog(`Diff updater: failed to diff-update ${data.name} using ${data.patchPath}, reason: ${data.error}`);
|
||||
}
|
||||
pendingOps -= 1;
|
||||
if ( pendingOps === 0 && toSoftUpdate.length !== 0 ) {
|
||||
|
|
Loading…
Reference in a new issue