From 9341ad48b4180f395a80ef460fa7175e8370f8b8 Mon Sep 17 00:00:00 2001 From: zhouhhesheng <8824644+zhouhhesheng@user.noreply.gitee.com> Date: Thu, 9 Feb 2023 09:06:23 +0000 Subject: [PATCH] update backend/gunicorn.py. Signed-off-by: zhouhhesheng <8824644+zhouhhesheng@user.noreply.gitee.com> --- backend/gunicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/gunicorn.py b/backend/gunicorn.py index 1772fbc..cf085fd 100644 --- a/backend/gunicorn.py +++ b/backend/gunicorn.py @@ -5,7 +5,7 @@ import multiprocessing # 并行工作进程数, int,cpu数量*2+1 推荐进程数 workers = multiprocessing.cpu_count() * 2 + 1 # 指定每个进程开启的线程数 -threads = 3 +threads = 4 # 绑定的ip与端口 bind = '0.0.0.0:8000' # 设置守护进程,将进程交给第三方管理