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 websocket shutdown grace period #3653

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

Conversation

john-markham
Copy link

@john-markham john-markham commented Apr 7, 2025

Simpler approach to graceful shut down than #3638. Got this idea from following the discussion around gorilla/websocket#248

Relying explicitly on the handshake complicates the implementation past what I think is worth it if alternatives like this could get us 80% of the way there.

I'm still validating that hypothesis. Work to address #3633

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@john-markham john-markham force-pushed the ws-close-grace-period branch from 9461546 to 1a8cbc6 Compare April 7, 2025 22:29
@john-markham john-markham marked this pull request as ready for review April 7, 2025 23:47
@john-markham john-markham changed the title Add graceful shutdown grace period Add websocket shutdown grace period Apr 7, 2025
@john-markham john-markham marked this pull request as draft April 8, 2025 00:28
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