Skip to main content

MAX_CONNECTIONS

Constant MAX_CONNECTIONS 

Source
pub const MAX_CONNECTIONS: &str = "MAX_CONNECTIONS";
Expand description

Maximum number of concurrent connections.

Limits simultaneous connections to prevent resource exhaustion. New connections are rejected when the limit is reached. Set to 0 for unlimited connections (not recommended for production).

Default: 10000

Example: "5000"