rwadurian/backend/mpc-system/services
hailin 0ca37ee76a feat(mpc-system): 增强连接可靠性和消息去重机制
后端改进:
- SessionEventBroadcaster: 重连时自动关闭旧 channel 防止内存泄漏
- MessageBroker: 重连时关闭旧的 party/session channel
- SubscribeMessages: 订阅时自动发送数据库中的 pending 消息

客户端改进:
- GrpcClient: 添加自动重连机制(指数退避,最多10次)
- GrpcClient: 断开/重连/失败事件通知前端
- TSSHandler: 消息缓冲机制,进程启动前缓存收到的消息
- TSSHandler: 客户端本地消息去重,防止重连后重复处理
- Database: 添加 processed_messages 表和相关操作方法
- Main: Keygen 幂等性保护,防止重复触发
- Main: 会话事件缓存,解决前端订阅时序问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 07:37:03 -08:00
..
account fix(mpc-system): 修复通过邀请码加入会话时 invalid token 错误 2025-12-29 03:40:36 -08:00
message-router feat(mpc-system): 增强连接可靠性和消息去重机制 2025-12-29 07:37:03 -08:00
server-party fix(server-party): session 事件订阅断开后自动重连 2025-12-29 01:25:30 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
service-party-app feat(mpc-system): 增强连接可靠性和消息去重机制 2025-12-29 07:37:03 -08:00
session-coordinator debug(mpc-system): 添加 joinToken 调试日志 2025-12-29 05:55:46 -08:00
tss-wasm feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00