cmd/devp2p: tweak DNS TTLs

This commit is contained in:
Felix Lange 2020-03-23 15:51:07 +01:00
parent 613af7ceea
commit 4ceda85056

View file

@ -97,8 +97,8 @@ var (
)
const (
rootTTL = 1
treeNodeTTL = 2147483647
rootTTL = 30 * 60 // 30 min
treeNodeTTL = 2 * 7 * 24 * 60 * 60 // 2 weeks
)
// dnsSync performs dnsSyncCommand.