问题: - waitForConnection() 在 channel 变成 READY 时无条件执行 reRegisterIfNeeded() 和 reSubscribeStreams() - 导致初次连接时重复注册 party 和重复订阅事件流 修复: - 使用 isReconnecting 标志区分初次连接和重连 - connect() 中确保 isReconnecting = false - triggerReconnect() 设置 isReconnecting = true - waitForConnection() 中先读取 isReconnecting 再重置,只有重连时才恢复流 添加详细日志用于调试: - GrpcClient: connect(), doConnect(), waitForConnection(), triggerReconnect() - TssRepository: registerParty(), restoreStreamsAfterReconnect(), onReconnectedCallback Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||