good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit c6649f58 authored by battlmonstr's avatar battlmonstr Committed by GitHub
Browse files

p2p: refactor MaxPendingPeers handling (#3981)

* use semaphore instead of a chan struct{}
* move MaxPendingPeers default value to DefaultConfig.P2P
* log Error if Accept fails
* replace quit channel with context
parent 7558730a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment