diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 39560ce..ffcb2a0 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -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 diff --git a/requirements.txt b/requirements.txt index 359bef4..cd6923f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ git+https://gitea.bearcatlog.com/BryantStudio/chassis.git@main#egg=chassis[apiflask,nameko] -psutil -meinheld==1.0.2 \ No newline at end of file +psutil \ No newline at end of file