mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
feat: disable parallel feature
This commit is contained in:
parent
25e7587671
commit
04d9e3e1bf
1 changed files with 5 additions and 1 deletions
|
|
@ -49,6 +49,10 @@ async def main():
|
||||||
if config.get("read_config_from_live_agent_api", False):
|
if config.get("read_config_from_live_agent_api", False):
|
||||||
init_live_agent_api(config)
|
init_live_agent_api(config)
|
||||||
|
|
||||||
|
# disable all parallel features
|
||||||
|
# TODO: find a better way to control
|
||||||
|
from core.parallel import get_feature_manager
|
||||||
|
get_feature_manager().disable_all()
|
||||||
# auth_key优先级:配置文件server.auth_key > manager-api.secret > 自动生成
|
# auth_key优先级:配置文件server.auth_key > manager-api.secret > 自动生成
|
||||||
# auth_key用于jwt认证,比如视觉分析接口的jwt认证、ota接口的token生成与websocket认证
|
# auth_key用于jwt认证,比如视觉分析接口的jwt认证、ota接口的token生成与websocket认证
|
||||||
# 获取配置文件中的auth_key
|
# 获取配置文件中的auth_key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue