Skip to content

Commit

Permalink
Deduced DNS cache flush time to 3 minutes.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Oct 22, 2024
1 parent 118ed65 commit 34e13de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- improved user-agent parser (added support for new headers `Sec-CH-UA`)
- improved `Number.pluralize()` method
- deduced DNS cache flush time to 3 minutes

========================
0.0.6
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ F.service = function(count) {
if (count % F.config.$tmsclearblocked === 0)
F.temporary.tmsblocked = {};

if (count % 30 === 0)
if (count % 3 === 0)
F.temporary.dnscache = {};

let blocked = F.temporary.blocked;
Expand Down

0 comments on commit 34e13de

Please sign in to comment.