Files
SenMeshNet/electron/bridges
zhaolei 500ea3269b
Some checks failed
AI automation / Route event (push) Has been cancelled
AI automation / Hand reopened issue to maintainers (push) Has been cancelled
AI automation / Clean source issue state (push) Has been cancelled
AI automation / Reconcile handoffs (push) Has been cancelled
AI automation / Classify issue (push) Has been cancelled
AI automation / Claude Code smoke (push) Has been cancelled
AI automation / Review issue follow-up (push) Has been cancelled
AI automation / Publish issue follow-up (push) Has been cancelled
AI automation / Implement with Claude Code (push) Has been cancelled
AI automation / Publish implement PR (push) Has been cancelled
AI automation / Continue queued issue comments (push) Has been cancelled
AI automation / Codex review loop (push) Has been cancelled
AI automation / Publish Codex fix (push) Has been cancelled
AI automation / Clear Codex dispatch marker (push) Has been cancelled
AI automation / Own PR re-request Codex (push) Has been cancelled
AI automation / External PR re-request Codex (push) Has been cancelled
AI automation / Poll Codex reaction / retry (push) Has been cancelled
fix: 移除 inspectionSchedulerApi.start 中每次都触发 scanAllNow 的重复巡检
根因:renderer 多个页面(MonitoringPage、ReportPage、useReportAutoScheduler)
mount 时各自调一次 inspectionSchedulerApi.start() 同步 hostConfigs。主进程
start handler 里 scheduler 已在运行时每次都 setImmediate(() => scanAllNow()),
导致短时间内同一批设备被巡检 N 次。

修复:去掉 scanAllNow 立即触发。start 只负责同步 hostConfigs。
InspectionScheduler 自身 30s tick 会按设备 effective_interval 正常调度。
2026-10-21 17:00:12 +08:00
..