9 lines
170 B
Python
9 lines
170 B
Python
|
from setting import APP_PORT
|
||
|
|
||
|
# 并行工作进程数
|
||
|
workers = 10
|
||
|
# 监听内网端口
|
||
|
bind = '0.0.0.0:{}'.format(APP_PORT)
|
||
|
# 工作模式协程
|
||
|
worker_class = 'gevent'
|