mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
style: apply ruff formatting fixes
This commit is contained in:
@ -71,8 +71,7 @@ async def example_multiple_connections_api() -> None:
|
|||||||
logger.info("Demonstrating multiple connections API...")
|
logger.info("Demonstrating multiple connections API...")
|
||||||
|
|
||||||
connection_config = ConnectionConfig(
|
connection_config = ConnectionConfig(
|
||||||
max_connections_per_peer=3,
|
max_connections_per_peer=3, load_balancing_strategy="round_robin"
|
||||||
load_balancing_strategy="round_robin"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
swarm = new_swarm(connection_config=connection_config)
|
swarm = new_swarm(connection_config=connection_config)
|
||||||
|
|||||||
Reference in New Issue
Block a user