tfse-app-api-v0.2/gunicorn.conf.py

9 lines
170 B
Python
Raw Normal View History

2021-12-01 01:24:35 +08:00
from setting import APP_PORT
# 并行工作进程数
workers = 10
# 监听内网端口
bind = '0.0.0.0:{}'.format(APP_PORT)
# 工作模式协程
worker_class = 'gevent'