erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.1k stars 1.09k forks source link

use simple semaphore to limit peer connection opening #11861

Closed shotasilagadze closed 1 week ago

shotasilagadze commented 1 week ago

I used simple "semaphore" to limit the number of goroutines to 4.