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:
41
docs/auto_commit_md/20250501_964cef2.md
Normal file
41
docs/auto_commit_md/20250501_964cef2.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# 提交分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| **提交哈希** | 964cef27eea604b6ca8d4608cef934e0fac77eba |
|
||||
| **父提交** | 2272d35c16ae1d7e77e398d8020124655e0cd553 |
|
||||
| **作者** | lincube |
|
||||
| **邮箱** | lincube3@hotmail.com |
|
||||
| **提交时间** | 2025-05-01 10:34:58 (+08:00) |
|
||||
| **提交信息** | 通知系统,自习系统,反正做了很多 |
|
||||
|
||||
## 提交信息分析
|
||||
|
||||
这是一个**功能开发提交**,包含多个重要功能:
|
||||
- **通知系统** - 实现了应用内通知功能
|
||||
- **自习系统** - 添加了自习/学习相关的功能模块
|
||||
- 其他多项改进
|
||||
|
||||
这是一个较大的功能提交,涉及多个子系统的开发。
|
||||
|
||||
## 变更概览
|
||||
|
||||
```bash
|
||||
git show 964cef27eea604b6ca8d4608cef934e0fac77eba
|
||||
```
|
||||
|
||||
## 提交类型
|
||||
|
||||
- [ ] 版本发布 (Release)
|
||||
- [x] 功能新增 (Feature)
|
||||
- [ ] Bug 修复 (Bug Fix)
|
||||
- [ ] 文档更新 (Documentation)
|
||||
- [ ] 代码重构 (Refactoring)
|
||||
- [ ] 其他 (Other)
|
||||
|
||||
## 涉及模块
|
||||
|
||||
- 通知系统 (Notification System)
|
||||
- 自习系统 (Study System)
|
||||
Reference in New Issue
Block a user