Skip to content

Commit 94e6da9

Browse files
committed
update docs
1 parent 46aa125 commit 94e6da9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/plugin/install.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ title: 安装使用
4040

4141
::::
4242

43-
::: warning
44-
无论采用哪种安装方式,插件都不会实时加载,您必须重新启动 fba,插件才能被正确加载到当前系统中
43+
::: caution
44+
无论采用哪种安装方式,插件 API 都不会实时热重载,您必须重新启动 fba 服务,插件功能才能被正确加载到 FastAPI 应用中
45+
46+
原因:
47+
48+
1. 实时热重载是非线程安全模式,它会影响正在处理中的任务
49+
2. 频繁热重载可能引发内存泄漏
50+
3. 插件可能包含环境变量配置,增加暴露风险
4551
:::

0 commit comments

Comments
 (0)