Unverified Commit 1583e7d2 authored by Felix Lange's avatar Felix Lange Committed by GitHub

cmd/devp2p: tweak DNS TTLs (#20801)

* cmd/devp2p: tweak DNS TTLs

* cmd/devp2p: bump treeNodeTTL to four weeks
parent 4690912a
...@@ -97,8 +97,8 @@ var ( ...@@ -97,8 +97,8 @@ var (
) )
const ( const (
rootTTL = 1 rootTTL = 30 * 60 // 30 min
treeNodeTTL = 2147483647 treeNodeTTL = 4 * 7 * 24 * 60 * 60 // 4 weeks
) )
// dnsSync performs dnsSyncCommand. // dnsSync performs dnsSyncCommand.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment