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/20250510_91ab52c.md
Normal file
38
docs/auto_commit_md/20250510_91ab52c.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `91ab52ce8b75e0a9721beb7d245da52ec9ac9278` |
|
||||
| 短 Hash | `91ab52c` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-10 01:52:52 (+0800) |
|
||||
| 父 Commit | `4a89c2388bcc7722907642daece63c3d24080794` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
change.插件sdk更新
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `change` - 变更 |
|
||||
| 影响范围 | 插件 SDK |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交更新了插件 SDK。这是插件开发框架的重要更新,可能包含API变更、功能增强或问题修复。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `4a89c23` - feat.便签组件
|
||||
- 后续提交: `d62226f` - fix. 试验性的修复了轻量版的Dotnet问题
|
||||
|
||||
## 备注
|
||||
|
||||
- 属于SDK版本更新
|
||||
- 可能影响插件开发者
|
||||
Reference in New Issue
Block a user