mirror of https://github.com/gorhill/uBlock.git
Lower allowed minimum Expires directive to "12 hours" (from "1 day")
This commit is contained in:
parent
0bfa41ceb9
commit
18bc4dd8b8
|
@ -936,7 +936,7 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
||||||
if ( matches[2] !== undefined ) {
|
if ( matches[2] !== undefined ) {
|
||||||
updateAfter = Math.ceil(updateAfter / 24);
|
updateAfter = Math.ceil(updateAfter / 24);
|
||||||
}
|
}
|
||||||
updateAfter = Math.max(updateAfter, 1);
|
updateAfter = Math.max(updateAfter, 0.5);
|
||||||
if ( updateAfter !== listEntry.updateAfter ) {
|
if ( updateAfter !== listEntry.updateAfter ) {
|
||||||
listEntry.updateAfter = updateAfter;
|
listEntry.updateAfter = updateAfter;
|
||||||
io.registerAssetSource(assetKey, { updateAfter });
|
io.registerAssetSource(assetKey, { updateAfter });
|
||||||
|
|
Loading…
Reference in New Issue