mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Lower allowed minimum Expires directive to "12 hours" (from "1 day")
This commit is contained in:
parent
0bfa41ceb9
commit
18bc4dd8b8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue