-
Notifications
You must be signed in to change notification settings - Fork 774
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix shutdown problems in ping application. (#2141)
* Fix shutdown problems in ping application. * Make sure HTTP server gracefully shuts down. * Since ListenAndServe() always returns a non-nil error, the application exited by logger.Fatal() before graceful shutdown process is completed. * Remove unnecessary error log. * In shutdown process of udpServer, an error log was always emitted, but it's not an error in intentional shutdown triggered by signal. * Fix inconsistency of log messages. Co-authored-by: Mark Mandel <markmandel@google.com> Co-authored-by: Alexander Apalikov <alexander.apalikov@globant.com> Co-authored-by: Robert Bailey <robertbailey@google.com>
- Loading branch information
1 parent
98725bd
commit 2ad1ec8
Showing
2 changed files
with
20 additions
and
13 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