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/20250520_8c58b1c.md
Normal file
37
docs/auto_commit_md/20250520_8c58b1c.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `8c58b1c43ec721a31128f0b1930035cbf3bd745d` |
|
||||
| 短 Hash | `8c58b1c` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-20 00:45:17 (+0800) |
|
||||
| 父 Commit | `e82c5d41fd6b5d5231d9524f59945b420b2dca7a` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
ci: add local pdc mock fallback for release publish
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `ci` - CI配置 |
|
||||
| 影响范围 | PDC 本地模拟 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交为发布流程添加了本地 PDC 模拟回退机制。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `e82c5d4` - set GH_TOKEN for PDCC
|
||||
- 后续提交: `64975d5` - ci: fix pdc mock process
|
||||
|
||||
## 备注
|
||||
|
||||
- CI 回退机制
|
||||
Reference in New Issue
Block a user