mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
Add IPC backoff/retries and safer disposal
Introduce exponential backoff, jitter and retry logic across IPC components to improve robustness and avoid tight retry loops; make disposal idempotent and add connection guards. Key changes: - LauncherCoordinatorIpcServer / LauncherIpcServer: add backoff constants, ComputeBackoff(), consecutive error tracking and delayed retries with jitter. - LanMountainDesktopIpcClient / LauncherIpcClient: add connect retry loops, timeouts, delayed retries, improved error logging, and use ArrayPool for buffered async writes; ensure proper cleanup on failures. - PublicIpcHostService: add disposed flag, guard OnPeerConnected and Dispose, and clear connected peers on dispose. - Add many auto-generated commit analysis docs under docs/auto_commit_md and new scripts for analyzing/generating commit docs. These changes aim to make IPC connection handling more resilient and resource-safe.
This commit is contained in:
38
docs/auto_commit_md/20250501_ff01471.md
Normal file
38
docs/auto_commit_md/20250501_ff01471.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# 提交分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| **提交哈希** | ff014717face0c8dc2f1f80b47a4dc85daa1b6a8 |
|
||||
| **父提交** | 964cef27eea604b6ca8d4608cef934e0fac77eba |
|
||||
| **作者** | lincube |
|
||||
| **邮箱** | lincube3@hotmail.com |
|
||||
| **提交时间** | 2025-05-01 14:04:59 (+08:00) |
|
||||
| **提交信息** | fix.修智教hub组件 |
|
||||
|
||||
## 提交信息分析
|
||||
|
||||
**Bug 修复提交**:修复了"智教 Hub"组件的问题。
|
||||
|
||||
智教 Hub 是项目中的一个重要组件,根据 `ZHIJIAO_HUB_COMPONENT_FINAL.md` 文档,这是一个集成教育资源的桌面组件。
|
||||
|
||||
## 变更概览
|
||||
|
||||
```bash
|
||||
git show ff014717face0c8dc2f1f80b47a4dc85daa1b6a8
|
||||
```
|
||||
|
||||
## 提交类型
|
||||
|
||||
- [ ] 版本发布 (Release)
|
||||
- [ ] 功能新增 (Feature)
|
||||
- [x] Bug 修复 (Bug Fix)
|
||||
- [ ] 文档更新 (Documentation)
|
||||
- [ ] 代码重构 (Refactoring)
|
||||
- [ ] 其他 (Other)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [智教 Hub 组件总结](file:///d:/github/LanMountainDesktop/docs/ZHIJIAO_HUB_COMPONENT_SUMMARY.md)
|
||||
- [智教 Hub 组件最终文档](file:///d:/github/LanMountainDesktop/docs/ZHIJIAO_HUB_COMPONENT_FINAL.md)
|
||||
Reference in New Issue
Block a user