From 7ae20b81532ebb5f6e6b12cfcf26b15c1a2578f1 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Wed, 25 Oct 2023 12:18:30 +0800 Subject: [PATCH] fix: adjust gunicorn.conf.py --- gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index b79de4e..fe8132d 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -9,9 +9,9 @@ worker_class = 'gevent' # 设置最大并发量 daemon = False debug = False -worker_connections = 2000 +worker_connections = 12 workers = multiprocessing.cpu_count() * 2 + 1 -timeout = 120 +# timeout = 120 # 指定每个工作者的线程数 # threads = 10