Closed yzang2019 closed 1 month ago
Attention: Patch coverage is 73.91304%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 58.07%. Comparing base (
29b1ac3
) to head (4b1e977
). Report is 2 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
internal/blocksync/pool.go | 66.66% | 6 Missing :warning: |
Describe your changes and provide context
Sometimes a peer could end up having multiple different IP addresses in the network, some IP are stale, this will cause dial always fail and got stuck. Currently the dial and handshake timeout is not passed in correctly, leading to the fact that the timeout is infinite. So we should enable dial timeout to fix this issue.
Testing performed to validate your change