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 import multiprocessing
# from gevent import monkey from gevent import monkey
# monkey.patch_all()
monkey.patch_all()
preload_app = True preload_app = True
bind = "0.0.0.0:5000" bind = "0.0.0.0:5000"
# worker_class = 'gevent' worker_class = 'gevent'
worker_class = 'egg:meinheld#gunicorn_worker'
# 设置最大并发量 # 设置最大并发量
daemon = False daemon = False
debug = False debug = False

View File

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