feat(rpc): implement health check service and error handling
- Added `RpcError` enum for comprehensive error handling in RPC operations. - Introduced `HealthReporter` and `HealthService` for managing service health statuses. - Implemented health check and watch functionality in the health service. - Created integration tests for health check service, covering various scenarios. - Added unit tests for client options validation and stream functionality. - Established logging infrastructure for terminal and registry components. - Implemented logging lifecycle management and conflict resolution in tests.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=50051
|
||||
DATA_PATH=registry/data/terminals.bin
|
||||
DATA_FILE_COUNT=10
|
||||
HEALTH_INTERVAL_SECS=10
|
||||
HEALTH_TIMEOUT_SECS=3
|
||||
LOG_LEVEL=info
|
||||
LOG_DIR=logs/registry
|
||||
LOG_MAX_FILES=10
|
||||
Reference in New Issue
Block a user