Skip to content

Commit

Permalink
fix:resume udp timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Mar 30, 2024
1 parent 766d2d8 commit 5122e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/v5_udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
findnodeResultLimit = 16 // applies in FINDNODE handler
totalNodesResponseLimit = 5 // applies in waitForNodes

respTimeoutV5 = 5000 * time.Millisecond
respTimeoutV5 = 700 * time.Millisecond
)

// codecV5 is implemented by v5wire.Codec (and testCodec).
Expand Down

0 comments on commit 5122e5a

Please sign in to comment.