mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@ -51,6 +51,8 @@ class QUICTransportConfig:
|
||||
"""Configuration for QUIC transport."""
|
||||
|
||||
# Connection settings
|
||||
max_connections_per_peer: int = 3
|
||||
load_balancing_strategy: str = "round_robin"
|
||||
idle_timeout: float = 30.0 # Seconds before an idle connection is closed.
|
||||
max_datagram_size: int = (
|
||||
1200 # Maximum size of UDP datagrams to avoid IP fragmentation.
|
||||
|
||||
Reference in New Issue
Block a user