mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
todo/bounded nursery in identify-push
This commit is contained in:
@ -190,4 +190,4 @@ async def push_identify_to_peers(
|
||||
# limiting concurrent connections to 10
|
||||
async with trio.open_nursery() as nursery:
|
||||
for peer_id in peer_ids:
|
||||
nursery.start_soon(push_identify_to_peer, host, peer_id, observed_multiaddr)
|
||||
nursery.start_soon(limited_push, peer_id)
|
||||
|
||||
Reference in New Issue
Block a user