Skip to content

Commit

Permalink
AG-29197: increase TTL of patches to 11 days (AdguardTeam#907)
Browse files Browse the repository at this point in the history
* AG-29197: increase TTL of patches to 11 days

* Update scripts/build/patches.js

Co-authored-by: Slava <[email protected]>

---------

Co-authored-by: Slava <[email protected]>
  • Loading branch information
105th and slavaleleka authored Feb 19, 2024
1 parent 996d77a commit 3b8815f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build/patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ const main = async () => {
time,
resolution,
verbose: true,
/**
* Chose 11 days because expiration time of filters is 10 days,
* so we took it and add one day to exclude overlaps.
*/
deleteOlderThanSec: 60 * 60 * 24 * 11,
});
}

Expand Down

0 comments on commit 3b8815f

Please sign in to comment.