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

chore(server): Vendor hyper-util graceful shutdown feature #1788

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tottoto
Copy link
Collaborator

@tottoto tottoto commented Jul 10, 2024

Uses hyper_util::server::graceful::GracefulShutdown to implement graceful shutdown.

@tottoto tottoto force-pushed the graceful-shutdown branch 2 times, most recently from 590b928 to 639fe98 Compare July 10, 2024 21:26
@tottoto tottoto force-pushed the graceful-shutdown branch 3 times, most recently from e719f64 to 91086e1 Compare July 15, 2024 10:12
@tottoto tottoto force-pushed the graceful-shutdown branch 2 times, most recently from af476f2 to 1b8ce06 Compare July 24, 2024 12:51
@tottoto tottoto force-pushed the graceful-shutdown branch 5 times, most recently from 969bc13 to 6fb4b18 Compare August 4, 2024 14:32
@tottoto tottoto changed the title chore(server): Use hyper_util::server::graceful::GracefulShutdown chore(server): Vendor hyper-util graceful shutdown feature Aug 4, 2024
@tottoto tottoto force-pushed the graceful-shutdown branch from 6fb4b18 to d624e10 Compare August 4, 2024 14:34
@tottoto tottoto marked this pull request as ready for review August 4, 2024 14:39
@djc
Copy link
Contributor

djc commented Aug 5, 2024

Why/how is this an improvement?

@tottoto tottoto force-pushed the graceful-shutdown branch from d624e10 to 815df41 Compare August 5, 2024 14:23
@tottoto
Copy link
Collaborator Author

tottoto commented Aug 5, 2024

Centralizing the graceful shutdown implementation and using it at server implementation can split their responsibility and improve the maintainability.

@djc
Copy link
Contributor

djc commented Aug 5, 2024

But this is duplicating the entire thing... that doesn't seem like centralizing in a meaningful way.

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.

2 participants