mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +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/20250521_9224c9a.md
Normal file
37
docs/auto_commit_md/20250521_9224c9a.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `9224c9a33ac6b141d03bbb629922fc38653911ed` |
|
||||
| 短 Hash | `9224c9a` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-21 17:05:22 (+0800) |
|
||||
| 父 Commit | `703ed7b48a41dc556c308b61a46edfc49e15216f` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
Harden OOBE, launch-source and elevation flow
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `feat` - 新功能 |
|
||||
| 影响范围 | OOBE、启动源、权限提升流程 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交增强了 OOBE(开箱即用体验)、启动源检测和权限提升流程。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `703ed7b` - Refactor launcher startup
|
||||
- 后续提交: `2c48b7b` - Add plugin isolation IPC
|
||||
|
||||
## 备注
|
||||
|
||||
- OOBE 体验增强
|
||||
Reference in New Issue
Block a user