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:
37
docs/auto_commit_md/20250505_d30af21.md
Normal file
37
docs/auto_commit_md/20250505_d30af21.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# 提交分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| **提交哈希** | d30af213174eaf20aec3a4d262e3b54cf5140dbc |
|
||||
| **父提交** | 8583465a679e0e7547317a40e2db8802dbcfb3f2 |
|
||||
| **作者** | lincube |
|
||||
| **邮箱** | lincube3@hotmail.com |
|
||||
| **提交时间** | 2025-05-05 12:25:26 (+08:00) |
|
||||
| **提交信息** | docs.加入changelog |
|
||||
|
||||
## 提交信息分析
|
||||
|
||||
**文档更新提交**:添加了 CHANGELOG.md 文件。
|
||||
|
||||
CHANGELOG 是项目文档的重要组成部分,用于记录版本变更历史。
|
||||
|
||||
## 变更概览
|
||||
|
||||
```bash
|
||||
git show d30af213174eaf20aec3a4d262e3b54cf5140dbc
|
||||
```
|
||||
|
||||
## 提交类型
|
||||
|
||||
- [ ] 版本发布 (Release)
|
||||
- [ ] 功能新增 (Feature)
|
||||
- [ ] Bug 修复 (Bug Fix)
|
||||
- [x] 文档更新 (Documentation)
|
||||
- [ ] 代码重构 (Refactoring)
|
||||
- [ ] 其他 (Other)
|
||||
|
||||
## 相关文件
|
||||
|
||||
- [CHANGELOG.md](file:///d:/github/LanMountainDesktop/CHANGELOG.md)
|
||||
Reference in New Issue
Block a user