Skip to content

Comments

支持手动导入路由、fix bug#89

Closed
smockgithub wants to merge 1 commit intoinsistence:masterfrom
smockgithub:master
Closed

支持手动导入路由、fix bug#89
smockgithub wants to merge 1 commit intoinsistence:masterfrom
smockgithub:master

Conversation

@smockgithub
Copy link
Contributor

-支持手动加载路由:调试模式+热重载下,性能一般的电脑加载部分文件会非常耗时5s+
-增加app_manual_import_routers配置是否开启手动加载路由
-修复glob.glob(pattern)在 VSCode 调试模式 + Uvicorn 热重载 环境下,可能返回几十万个重复的文件路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant