From a1eee5eb8b5ab53bfb212bf60e885ccadca08e6e Mon Sep 17 00:00:00 2001 From: ddl Date: Wed, 17 Jan 2024 15:21:39 +0800 Subject: [PATCH] fix udpOrHttpTrackers amount (#9245) seems we just choose the first 8 trackers in https://github.com/ledgerwatch/trackerslist/blob/master/trackers_best.txt. --- erigon-lib/downloader/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erigon-lib/downloader/util.go b/erigon-lib/downloader/util.go index f169064e8..b7ee25257 100644 --- a/erigon-lib/downloader/util.go +++ b/erigon-lib/downloader/util.go @@ -47,7 +47,7 @@ import ( "github.com/ledgerwatch/erigon-lib/kv" ) -// udpOrHttpTrackers - torrent library spawning several goroutines and producing many requests for each tracker. So we limit amout of trackers by 7 +// udpOrHttpTrackers - torrent library spawning several goroutines and producing many requests for each tracker. So we limit amout of trackers by 8 var udpOrHttpTrackers = []string{ "udp://tracker.opentrackr.org:1337/announce", "udp://9.rarbg.com:2810/announce",