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/20250512_1b22e9d.md
Normal file
38
docs/auto_commit_md/20250512_1b22e9d.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `1b22e9df4a139481e0133aa8c50565e4e07ee083` |
|
||||
| 短 Hash | `1b22e9d` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-12 10:34:37 (+0800) |
|
||||
| 父 Commit | `ce5acf5bd7934a709e97696841e177ad4bc4d000` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
feat.新增了插件开发文档
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `feat` - 新功能 |
|
||||
| 影响范围 | 插件开发文档 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交新增了插件开发文档。这是为插件开发者提供的官方文档,包含开发指南、API参考等内容,帮助开发者更好地理解和使用插件SDK。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `ce5acf5` - fix.修复了快捷方式组件无法正常透明的问题
|
||||
- 后续提交: `b12dd68` - fix.开发者调试工具设置无法正常持久化的问题
|
||||
|
||||
## 备注
|
||||
|
||||
- 属于文档建设
|
||||
- 提升开发者体验
|
||||
Reference in New Issue
Block a user