From 39c82ea99b5358e31a3ed78f4de93e3ebfd0399c Mon Sep 17 00:00:00 2001 From: BryantHe Date: Tue, 24 Oct 2023 17:54:19 +0800 Subject: [PATCH] fix: adjust gunicorn.conf.py --- gunicorn.conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index d936684..a78078f 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -10,7 +10,7 @@ worker_class = 'gevent' # 设置最大并发量 daemon = False debug = False -worker_connections = 3000 +worker_connections = 1000 workers = multiprocessing.cpu_count() * 2 + 1 # 指定每个工作者的线程数