From 991601dfaffa74a6085518a9c90bba9c619fc980 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sat, 20 May 2023 14:59:48 +0200 Subject: [PATCH] reasonable total connections value --- kubi-server/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubi-server/src/server.rs b/kubi-server/src/server.rs index 3195677..cdf7909 100644 --- a/kubi-server/src/server.rs +++ b/kubi-server/src/server.rs @@ -29,7 +29,7 @@ pub fn bind_server( let server = Server::bind( config.server.address, ServerConfig { - max_total_connections: config.server.max_clients, + max_total_connections: config.server.max_clients * 2, max_active_connections: config.server.max_clients, enable_handshake_errors: true, endpoint_config: EndpointConfig {