- Increased reconnect delay from 1 second to 2 seconds and reduced max reconnect attempts from 5 to 3 to minimize server load. - Improved logging messages for connection status and abnormal closures, providing clearer insights during reconnection attempts. - Added a ping mechanism to test connection stability and handle network connectivity issues more effectively. These changes enhance the reliability and performance of the WebSocket service, contributing to a better user experience. |
||
|---|---|---|
| .. | ||
| WalletService.ts | ||
| WalletWebSocketService.ts | ||