forked from triton-inference-server/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTTP live connections on server shutdown (triton-inference-server#6986)
* Wait for HTTP connection when shutting down * Add test for shutdown with live HTTP connection * Use TRITONSERVER_ServerSetExitTimeout() API * Variable name update * Stop HTTP service immediately after all connections close * Remove unused include * Remove accept new connection check * Adjust test for 'Remove accept new connection check' and add testing for countdown restart * Fix non exit timeout supported endpoints * Improve existing shutdown test reliability on extra http shutdown delay * Fix gap between decided to close socket and actually close socket * Start rejecting new connections once shutdown polling start * Group checking logic
- Loading branch information
Showing
5 changed files
with
153 additions
and
8 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
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