Skip to content

Shutdown server if listener connection dies #57

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

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

diogob
Copy link
Owner

@diogob diogob commented Jun 4, 2020

Should address #55
This PR will shutdown the while process instead of trying to recover from a connection error.
Since the connection is stateful this might be the best approach in the long term, to let some supervisor respawn the service.

…the warp server in error conditions that require a service restart. Trigger a shutdown if the listener connection dies.
@diogob diogob force-pushed the shutdown-on-connection-failure branch from 5003911 to 63c7e08 Compare June 12, 2020 02:07
@diogob diogob merged commit b0f9405 into master Jun 12, 2020
@diogob diogob deleted the shutdown-on-connection-failure branch June 12, 2020 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant