Update examples to use wildcard addresses for network binding and improve connection timeout comments

This commit is contained in:
yashksaini-coder
2025-09-20 13:11:22 +05:30
parent a862ac83cd
commit ae3e2ff943
5 changed files with 19 additions and 10 deletions

View File

@ -156,7 +156,7 @@ async def example_production_ready_config() -> None:
# Production-ready connection configuration
connection_config = ConnectionConfig(
max_connections_per_peer=3, # Balance between performance and resource usage
connection_timeout=30.0, # Reasonable timeouta
connection_timeout=30.0, # Reasonable timeout
load_balancing_strategy="round_robin", # Simple, predictable strategy
)