mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-27 17:51:20 +00:00
* add max_listeners to swarm * add swarm builder * swarm_builder's build takes ownership of self * replace max listeners with incoming limit * don't disconnect from node after incoming limit has been reached * update code according to recent changes * don't poll listeners at all if incoming connection limit is reached