libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.32k stars 445 forks source link

fix: silence max listeners warning #2417

Closed achingbrain closed 8 months ago

achingbrain commented 8 months ago

When recreating the dial queue shutdown controller, we must also increase the number of listeners it can have, otherwise warnings are printed when there are more than 10 peers in the dial queue.

Change checklist