mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 21:58:20 -06:00
reasonable total connections value
This commit is contained in:
parent
8e2bc5d35d
commit
991601dfaf
|
@ -29,7 +29,7 @@ pub fn bind_server(
|
||||||
let server = Server::bind(
|
let server = Server::bind(
|
||||||
config.server.address,
|
config.server.address,
|
||||||
ServerConfig {
|
ServerConfig {
|
||||||
max_total_connections: config.server.max_clients,
|
max_total_connections: config.server.max_clients * 2,
|
||||||
max_active_connections: config.server.max_clients,
|
max_active_connections: config.server.max_clients,
|
||||||
enable_handshake_errors: true,
|
enable_handshake_errors: true,
|
||||||
endpoint_config: EndpointConfig {
|
endpoint_config: EndpointConfig {
|
||||||
|
|
Loading…
Reference in a new issue