-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api_server: use kill switch to shutdown api server
Use dedicated kill switch mechanism to break out of micro-http loop and gracefully shutdown the API server thread. Remove hacky "/shutdown-internal" HTTP request which was externally exposing a way to bring down parts of firecracker components. Signed-off-by: Egor Lazarchuk <[email protected]> Co-authored-by:: acatangiu <[email protected]>
- Loading branch information
1 parent
3c4c875
commit 3156667
Showing
3 changed files
with
35 additions
and
52 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