You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove race condition between pings and request response (#600)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Improved WebSocket keep-alive: moved from fixed-interval polling to an
activity-driven ping timer (pings every 30s; idle close after 60s).
* Ping scheduling now resets on inbound activity, outbound writes, and
after handling responses or errors, preventing blocked or redundant
pings and reducing unnecessary network traffic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Babur Makhmudov <bmuddha13@gmail.com>
0 commit comments