Revision a28c987f5a604ff66b515dd415270063e6fb069d authored by mergify[bot] on 10 October 2022, 13:24:10 UTC, committed by GitHub on 10 October 2022, 13:24:10 UTC
* blocksync: retry requests after timeout (#9518)

* blocksync: retry requests after timeout

* Minimize changes to re-send block request after timeout

* TO REVERT: reduce queue capacity

* Add reset

* Revert "TO REVERT: reduce queue capacity"

This reverts commit dd0fee56924c958bed2ab7733e1917eb88fb5957.

* 30 seconds

* don't reset the timer

* Update blocksync/pool.go

Co-authored-by: Callum Waters <cmwaters19@gmail.com>

Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
(cherry picked from commit a371b1e3a8ea7603ada20e21bd6b4d5bf9f664f2)

* Add changelog entry

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: Sergio Mena <sergio@informal.systems>
1 parent 1d160a5
History
File Mode Size
conn
mock
mocks
pex
trust
upnp
README.md -rw-r--r-- 770 bytes
base_reactor.go -rw-r--r-- 2.5 KB
conn_set.go -rw-r--r-- 1.3 KB
errors.go -rw-r--r-- 4.4 KB
fuzz.go -rw-r--r-- 3.8 KB
key.go -rw-r--r-- 3.2 KB
key_test.go -rw-r--r-- 1.9 KB
metrics.go -rw-r--r-- 2.8 KB
netaddress.go -rw-r--r-- 11.9 KB
netaddress_test.go -rw-r--r-- 5.3 KB
node_info.go -rw-r--r-- 8.2 KB
node_info_test.go -rw-r--r-- 4.5 KB
peer.go -rw-r--r-- 9.5 KB
peer_set.go -rw-r--r-- 3.9 KB
peer_set_test.go -rw-r--r-- 5.4 KB
peer_test.go -rw-r--r-- 5.3 KB
switch.go -rw-r--r-- 23.6 KB
switch_test.go -rw-r--r-- 20.6 KB
test_util.go -rw-r--r-- 7.5 KB
transport.go -rw-r--r-- 14.4 KB
transport_test.go -rw-r--r-- 14.3 KB
types.go -rw-r--r-- 164 bytes

README.md

back to top