mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-12 14:19:04 +00:00
cmd/devp2p: tweak DNS TTLs (#20801)
* cmd/devp2p: tweak DNS TTLs * cmd/devp2p: bump treeNodeTTL to four weeks
This commit is contained in:
parent
4690912ac9
commit
1583e7d274
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
rootTTL = 1
|
||||
treeNodeTTL = 2147483647
|
||||
rootTTL = 30 * 60 // 30 min
|
||||
treeNodeTTL = 4 * 7 * 24 * 60 * 60 // 4 weeks
|
||||
)
|
||||
|
||||
// dnsSync performs dnsSyncCommand.
|
||||
|
|
|
|||
Loading…
Reference in a new issue