Skip to content

Commit 4b5aa28

Browse files
committed
increase cache purging ratio to 20%
1 parent 2dcc204 commit 4b5aa28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/validate-links.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ console.log(`Found ${cachedKeys.size} cached links!`);
3838
// this might help us catch any changed links
3939
let purgedKeys = 0;
4040
for (const cachedKey of cachedKeys) {
41-
if (Math.random() < 0.1) {
41+
if (Math.random() < 0.2) {
4242
cachedKeys.delete(cachedKey);
4343
purgedKeys++;
4444
}

0 commit comments

Comments
 (0)