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

9 lines
170 B
Python
Raw Permalink Normal View History

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