1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Forgot to lower update period limit to 6-hour

This commit is contained in:
Raymond Hill 2023-10-30 20:42:38 -04:00
parent 9a81f75cfa
commit 153783cfaa
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 ) {