From cbd56ae87e8b8bb762e28332a0ec11aa0bfc6d42 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Mon, 18 Mar 2024 16:42:18 +0800 Subject: [PATCH] Picture using minio service --- gunicorn_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index f5bf666..c85e8ad 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -16,7 +16,7 @@ threads = 2 backlog = 2048 # 工作模式--协程 -worker_class = "gevent" +worker_class = "uvicorn.workers.UvicornWorker" # 最大客户客户端并发数量,对使用线程和协程的worker的工作有影响 # 服务器配置设置的值 1200:中小型项目 上万并发: 中大型