From a350aa64c576061655c20cf80e2f270df2eac2d0 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 11 May 2026 21:45:07 +0800 Subject: [PATCH] fix config --- config/sys-dev.config | 14 +++++++------- config/sys-prod.config | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/sys-dev.config b/config/sys-dev.config index 9fecc45..aebdbef 100644 --- a/config/sys-dev.config +++ b/config/sys-dev.config @@ -2,21 +2,21 @@ {iot, [ {http_server, [ {port, 18090}, - {acceptors, 500}, - {max_connections, 10240}, - {backlog, 10240} + {acceptors, 5}, + {max_connections, 1024}, + {backlog, 1024} ]}, {ssl_server, [ {port, 443}, - {acceptors, 500}, - {max_connections, 10240}, - {backlog, 10240} + {acceptors, 5}, + {max_connections, 1024}, + {backlog, 1024} ]}, {redis_server, [ {port, 16379}, - {acceptors, 500}, + {acceptors, 10}, {max_connections, 10240}, {backlog, 10240} ]}, diff --git a/config/sys-prod.config b/config/sys-prod.config index da4d237..8d4364f 100644 --- a/config/sys-prod.config +++ b/config/sys-prod.config @@ -2,21 +2,21 @@ {iot, [ {http_server, [ {port, 18080}, - {acceptors, 500}, - {max_connections, 10240}, - {backlog, 10240} + {acceptors, 5}, + {max_connections, 1024}, + {backlog, 1024} ]}, {ssl_server, [ - {port, 18092}, - {acceptors, 500}, - {max_connections, 10240}, - {backlog, 10240} + {port, 1443}, + {acceptors, 5}, + {max_connections, 1024}, + {backlog, 1024} ]}, {redis_server, [ {port, 16379}, - {acceptors, 500}, + {acceptors, 5}, {max_connections, 10240}, {backlog, 10240} ]},