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:
39
docs/auto_commit_md/20250505_5fa2031.md
Normal file
39
docs/auto_commit_md/20250505_5fa2031.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `5fa2031ad6107a3e6ad8b16ce0a3351fd4737bed` |
|
||||
| 短 Hash | `5fa2031` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-05 09:29:33 (+0800) |
|
||||
| 父 Commit | `0662565dca6241e36ece52fbb3708e640fb37291` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
fead.消息盒子组件
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `feat` (拼写为 fead) - 新功能 |
|
||||
| 影响范围 | 消息盒子组件 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交新增了消息盒子组件。这是一个用于显示通知、提示信息的UI组件,为用户提供系统消息和交互反馈的展示能力。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `0662565` - fead.为文件管理组件添加了跨平台的支持
|
||||
- 后续提交: `e1d5a0c` - fead.添加了电源菜单
|
||||
|
||||
## 备注
|
||||
|
||||
- 提交类型拼写为 `fead`,实际应为 `feat`
|
||||
- 属于UI组件开发
|
||||
- 消息盒子是桌面应用常见的交互组件
|
||||
Reference in New Issue
Block a user