mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
- Introduced state management in GrpcClient to monitor and handle connection states effectively. - Added a reconnect channel and a state monitoring goroutine to facilitate automatic reconnections on state changes. - Updated the connect method to initiate a reconnection loop upon connection loss. - Enhanced logging for connection state changes and errors during connection attempts. - Refactored tests to ensure proper initialization of gRPC client and server, improving test reliability and coverage.