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/20250516_9283da5.md
Normal file
38
docs/auto_commit_md/20250516_9283da5.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `9283da59400abb2294e7dabb4b8c81e80f4c951a` |
|
||||
| 短 Hash | `9283da5` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-16 19:53:41 (+0800) |
|
||||
| 父 Commit | `9efa43d92b3672ac3ed4aad189bcc0ec639a452b` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
changed.调整了启动逻辑,优化了更新页面。
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `change` - 变更 |
|
||||
| 影响范围 | 启动逻辑、更新页面 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交调整了应用启动逻辑,并优化了更新页面的用户体验。这是对启动流程和更新机制的重要改进。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `9efa43d` - Update LanMountainDesktop.csproj
|
||||
- 后续提交: `4b89783` - changed.优化了更新体验
|
||||
|
||||
## 备注
|
||||
|
||||
- 属于启动流程优化
|
||||
- 更新页面用户体验改进
|
||||
Reference in New Issue
Block a user