Files
middle-server/gunicorn.conf.py
2023-04-19 13:14:13 +08:00

3 lines
207 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

workers = 5 # 定义同时开启的处理请求的进程数量,根据网站流量适当调整
worker_class = "gevent" # 采用gevent库支持异步处理请求提高吞吐量
bind = "0.0.0.0:80"