Skip to main content

Module connection_limiter

Module connection_limiter 

Source
Expand description

Peer Connection Limiter

Rate-based connection limiting per peer and globally. Enforces per-peer connection caps, a global connection ceiling, and a cooldown period (measured in ticks) between successive connections from the same peer.

Structsยง

LimiterConfig
Configuration for PeerConnectionLimiter.
LimiterStats
Aggregate statistics snapshot returned by PeerConnectionLimiter::stats.
PeerConnectionInfo
Per-peer connection information tracked by the limiter.
PeerConnectionLimiter
Rate-based connection limiter that enforces per-peer limits, a global cap, and a cooldown period between connections from the same peer.