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

fix: re-establish GraphQL subscription after websocket close #146

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

SebastianStamm
Copy link
Collaborator

Description

This PR adds a close event handler to the GraphQL websocket connection that, when called, re-establishes the connection. My hope is that this solves #143.

I could not verify this yet as the websocket on my dev-setup does not timeout in the same way it does in production so I would keep the issue open until I was able to verify the fix on production.

Related issues

related to #143

@SebastianStamm SebastianStamm requested a review from saig0 March 7, 2023 14:01
Copy link
Collaborator

@saig0 saig0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SebastianStamm okay. Let's give it a try. 😅

@saig0 saig0 merged commit 82aa526 into main Mar 9, 2023
@saig0 saig0 deleted the 143-websocket-timeout branch March 9, 2023 08:25
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