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