mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/devp2p: tweak DNS TTLs
This commit is contained in:
parent
613af7ceea
commit
4ceda85056
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
rootTTL = 1
|
rootTTL = 30 * 60 // 30 min
|
||||||
treeNodeTTL = 2147483647
|
treeNodeTTL = 2 * 7 * 24 * 60 * 60 // 2 weeks
|
||||||
)
|
)
|
||||||
|
|
||||||
// dnsSync performs dnsSyncCommand.
|
// dnsSync performs dnsSyncCommand.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue