Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gracefull shutdown to HTTP server. #439

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Conversation

miry
Copy link
Contributor

@miry miry commented Sep 11, 2022

Make sure toxiproxy HTTP server close gracefully connection.
Extract endpoints initialization in separate method Routes.
Update notify signal to handle SIGTERM and SIGINT.

@miry miry self-assigned this Sep 11, 2022
@miry miry added the Toxiproxy label Sep 11, 2022
@miry miry marked this pull request as ready for review September 11, 2022 09:32
@miry miry linked an issue Sep 11, 2022 that may be closed by this pull request
13 tasks
@miry miry mentioned this pull request Sep 11, 2022
13 tasks
Make sure toxiproxy HTTP server close gracefully connection.
Extract endpoints initialization in separate method Routes.
Update notify signal to handle SIGTERM and SIGINT.
@miry miry merged commit 2afc40d into master Sep 12, 2022
@miry miry deleted the server-gracefull-shutdown branch September 12, 2022 07:17
@miry miry added this to the 2.6.0 milestone Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.6.0 Milestone
1 participant