build: docker
This commit is contained in:
3
gunicorn.conf.py
Normal file
3
gunicorn.conf.py
Normal file
@ -0,0 +1,3 @@
|
||||
workers = 5 # 定义同时开启的处理请求的进程数量,根据网站流量适当调整
|
||||
worker_class = "gevent" # 采用gevent库,支持异步处理请求,提高吞吐量
|
||||
bind = "0.0.0.0:80"
|
Reference in New Issue
Block a user