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

Only add a shutdown handler when compiled in debug mode #99

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

sd2k
Copy link
Collaborator

@sd2k sd2k commented Mar 15, 2023

Aside from any security concerns of opening a port in production, there's also a good chance that the specified port won't be available or that we won't have permission to open it. The shutdown handler is only really meant to speed up development anyway.

@sd2k sd2k force-pushed the shutdown-handler-only-in-dev branch from 533c033 to 91ee10b Compare March 15, 2023 10:45
@sd2k sd2k merged commit 0000189 into main Mar 15, 2023
@sd2k sd2k deleted the shutdown-handler-only-in-dev branch March 15, 2023 10:53
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.

None yet

1 participant