From 2ae347676c73a03b7fc618b8cb06215d1c599dbb Mon Sep 17 00:00:00 2001 From: BryantHe Date: Tue, 24 Oct 2023 17:30:14 +0800 Subject: [PATCH] fix: adjust gunicorn.conf.py --- gunicorn.conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index ff2dc1d..40bfcfe 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -12,8 +12,9 @@ daemon = False debug = False worker_connections = 2000 workers = multiprocessing.cpu_count() * 2 + 1 + # 指定每个工作者的线程数 -threads = 10 +# threads = 10 # pidfile = "/var/run/gunicorn.pid" # accesslog = '/var/log/gunicorn_access.log'