From f95bac9630651955a16f3eb77e15b8da6426f105 Mon Sep 17 00:00:00 2001 From: H Vs Date: Mon, 10 Mar 2025 09:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gunicorn_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index c2f3664..292cb4d 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -5,7 +5,7 @@ bind = '0.0.0.0:5000' # 工作进程与协程配置 #workers = multiprocessing.cpu_count() # 异步模式 Worker 数等于 CPU 核数 -workers=4 +workers=1 # worker_class = 'gevent' # 启用协程 worker_connections = 2000 # 适当增加单 Worker 并发量