fix: adjust gunicorn.conf.py
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-10-24 18:08:45 +08:00
parent 2bc93e8fe1
commit 7049f3d008
2 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,12 @@
import multiprocessing
# from gevent import monkey
# monkey.patch_all()
from gevent import monkey
monkey.patch_all()
preload_app = True
bind = "0.0.0.0:5000"
# worker_class = 'gevent'
worker_class = 'egg:meinheld#gunicorn_worker'
worker_class = 'gevent'
# 设置最大并发量
daemon = False
debug = False

View File

@ -1,3 +1,2 @@
git+https://gitea.bearcatlog.com/BryantStudio/chassis.git@main#egg=chassis[apiflask,nameko]
psutil
meinheld==1.0.2
psutil