Skip to content

Commit c6e078d

Browse files
committed
fix(qq): resolve WebSocket disconnection and session resume issues
- Add heartbeat ACK timeout detection (MAX_MISSED_ACKS=3) to detect zombie connections - Implement session resume support with persistent session_id/last_sequence - Add exponential backoff reconnection (1s-60s) to avoid rate limiting - Optimize message deduplication (HashSet 10k capacity with half-eviction) - Add dynamic heartbeat interval from server Hello + 10% grace period - Add 9 new unit tests for heartbeat, dedup, and retry logic 🤖 Generated with [Qoder][https://qoder.com]
1 parent 50ef65d commit c6e078d

1 file changed

Lines changed: 419 additions & 117 deletions

File tree

  • agent-diva-channels/src

0 commit comments

Comments
 (0)