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/20250519_02547ee.md
Normal file
39
docs/auto_commit_md/20250519_02547ee.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `02547eeea6931eea12e6d8a36ef21f7252701d25` |
|
||||
| 短 Hash | `02547ee` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-19 18:24:36 (+0800) |
|
||||
| 父 Commit | `8e39ea864fa0e569112bc038af68c69408f51143` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
feat.引入velopack,不好,是rust(至少内存很安全了。
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `feat` - 新功能 |
|
||||
| 影响范围 | Velopack 更新框架 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交正式引入了 Velopack 更新框架。Velopack 是基于 Rust 的跨平台应用更新框架,提供安全可靠的自动更新能力。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `8e39ea8` - fix.GitHub Action工作流
|
||||
- 后续提交: `f6a6f97` - chore: migrate release pipeline
|
||||
|
||||
## 备注
|
||||
|
||||
- 引入 Velopack 更新框架
|
||||
- 基于 Rust 实现
|
||||
- 提供内存安全的更新机制
|
||||
Reference in New Issue
Block a user