- Replace all Chinese comments with English equivalents in:
- src/health_monitor.rs
- src/lib.rs
- tests/integration_test.rs
- Add comprehensive README.md with:
- Project overview and features
- Architecture diagram
- Installation and configuration guide
- Data format specifications
- Health monitoring documentation
- Troubleshooting guide
- Add unified retry strategy with exponential backoff and jitter
- Implement health monitoring system for service status tracking
- Enhance WebSocket connection with timeout and heartbeat detection
- Improve WAN polling with connection timeout and error handling
- Add comprehensive test suite for retry mechanisms
- Fix connection hanging issues that prevented proper retry recovery
Key improvements:
- RetryConfig with fast/slow/infinite retry strategies
- HealthMonitor for real-time service status tracking
- Connection timeouts to prevent hanging
- Automatic ping/pong handling for WebSocket
- Consecutive error counting and thresholds
- Detailed logging for better diagnostics
All tests passing: 11 tests (3 unit + 5 integration + 3 lib tests)