-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update connection testing logic and error handling
- grpc tcp connection is now tested as first step - removed retries of socket connection test, retry is run until success in retryInterval - retryInterval lowered to 5 seconds - update shutdown process: -- when connection to dpdk fails, process ends and doesn't retry the connection -- this way it can be handled by kubernetes and shown in restart counter -- added graceful shutdown of http server - udpate error handling: -- queryTelemetry function now returns error, this error indicates problems with dpdk telemetry socket and shuts down the program -- connection testing functions merged together to clean up code - check for uid to use correct dpdk telemetry socket
- Loading branch information
Showing
3 changed files
with
134 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters