cmd/devp2p: bump treeNodeTTL to four weeks

This commit is contained in:
Felix Lange 2020-03-26 12:42:09 +01:00 committed by GitHub
parent 4ceda85056
commit 3646cd68a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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