fix: Sentinel SSE 每次轮询都推送 (实时性) + isolation 默认 false + 文档

Sentinel:
- poll_interval 3s→2s, 每次轮询都推 SSE (不再等状态变化)
- 解决稳定状态下数据更新不实时问题

插件系统:
- 默认 isolation: false (避免插件 WebUI 不显示)
- example_plugin 显式设置 isolation: false
- 插件开发指南: settings 示例增加 isolation 说明

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
qinglong
2026-06-13 17:54:39 +08:00
parent af16549524
commit b53410bc77
6 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class InitService:
'auto_load': True,
'hot_reload': True,
'max_retry_count': 3,
'isolation': True, # 生产默认进程隔离,插件崩溃不影响框架
'isolation': False, # 默认不隔离 (需要 Web 页面的插件必须非隔离)
},
'auto_start_scripts': {
'enabled': True,