Skip to main content

MAX_CONNECTIONS

Constant MAX_CONNECTIONS 

Source
pub const MAX_CONNECTIONS: usize = 100;
Expand description

Maximum concurrent connections per server. Tonic does not directly enforce this today; the constant is exposed so the embedder can apply it via tower::limit::ConcurrencyLimitLayer if needed.