fix: adjust gunicorn.conf.py
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2bc93e8fe1
commit
7049f3d008
|
@ -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
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue