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/20250523_28f41cd.md
Normal file
37
docs/auto_commit_md/20250523_28f41cd.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `28f41cd27c09a40fa0854742cae8288154f6b689` |
|
||||
| 短 Hash | `28f41cd` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-23 02:05:30 (+0800) |
|
||||
| 父 Commit | `9de93d2a4d5d883e50380f439cd67c8d3e4663be` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
Resolve dev paths and fix splash UI thread
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `fix` - 修复问题 |
|
||||
| 影响范围 | 开发路径、启动画面UI线程 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交修复了开发路径解析和启动画面UI线程问题。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `9de93d2` - fix.hy3试图修复中
|
||||
- 后续提交: `ad3648a` - Add configurable data location
|
||||
|
||||
## 备注
|
||||
|
||||
- 路径和线程修复
|
||||
Reference in New Issue
Block a user