mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 09:51:36 +00:00
cmd/devp2p/v5test: extend FindnodeResults retry window
This commit is contained in:
parent
095778309f
commit
1dbb80afe6
1 changed files with 2 additions and 2 deletions
|
|
@ -296,8 +296,8 @@ that they are returned by FINDNODE.`)
|
|||
conn, l1 := s.listen1(t)
|
||||
defer conn.close()
|
||||
|
||||
const maxAttempts = 15
|
||||
const retryInterval = 3 * time.Second
|
||||
const maxAttempts = 45
|
||||
const retryInterval = 2 * time.Second
|
||||
|
||||
for attempt := 1; attempt <= maxAttempts; attempt++ {
|
||||
foundNodes, err := conn.findnode(l1, dists)
|
||||
|
|
|
|||
Loading…
Reference in a new issue