gunicorn.conf.py 225 Bytes EditWeb IDE 1 2 3 4 5 workers = 1 # 定义同时开启的处理请求的进程数量,根据网站流量适当调整 worker_class = "gevent" # 采用gevent库,支持异步处理请求,提高吞吐量 timeout = 600 bind = "0.0.0.0:8080"