mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 07:53:47 +00:00
fix:resume udp timeout
Signed-off-by: Chen Kai <281165273grape@gmail.com>
This commit is contained in:
parent
766d2d8ece
commit
5122e5a826
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ const (
|
||||||
findnodeResultLimit = 16 // applies in FINDNODE handler
|
findnodeResultLimit = 16 // applies in FINDNODE handler
|
||||||
totalNodesResponseLimit = 5 // applies in waitForNodes
|
totalNodesResponseLimit = 5 // applies in waitForNodes
|
||||||
|
|
||||||
respTimeoutV5 = 5000 * time.Millisecond
|
respTimeoutV5 = 700 * time.Millisecond
|
||||||
)
|
)
|
||||||
|
|
||||||
// codecV5 is implemented by v5wire.Codec (and testCodec).
|
// codecV5 is implemented by v5wire.Codec (and testCodec).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue