-
Notifications
You must be signed in to change notification settings - Fork 7
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
Subscription store fixes #1593
Merged
Merged
Subscription store fixes #1593
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AaronPlave
had a problem deploying
to
test-workflow
January 15, 2025 17:59 — with
GitHub Actions
Failure
AaronPlave
had a problem deploying
to
test-workflow
January 15, 2025 18:03 — with
GitHub Actions
Failure
AaronPlave
had a problem deploying
to
test-workflow
January 16, 2025 16:20 — with
GitHub Actions
Failure
AaronPlave
force-pushed
the
fix/1464/subscription-fixes
branch
from
January 17, 2025 16:20
b20b724
to
1985a19
Compare
AaronPlave
temporarily deployed
to
test-workflow
January 17, 2025 16:20 — with
GitHub Actions
Inactive
duranb
reviewed
Jan 17, 2025
AaronPlave
temporarily deployed
to
test-workflow
January 17, 2025 17:54 — with
GitHub Actions
Inactive
AaronPlave
had a problem deploying
to
test-workflow
January 21, 2025 20:27 — with
GitHub Actions
Failure
AaronPlave
force-pushed
the
fix/1464/subscription-fixes
branch
from
January 21, 2025 20:27
55fe331
to
c580687
Compare
AaronPlave
temporarily deployed
to
test-workflow
January 21, 2025 20:28 — with
GitHub Actions
Inactive
duranb
approved these changes
Jan 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great!
🤞 |
AaronPlave
force-pushed
the
fix/1464/subscription-fixes
branch
from
January 22, 2025 14:57
c580687
to
b60a4df
Compare
AaronPlave
temporarily deployed
to
test-workflow
January 22, 2025 14:57 — with
GitHub Actions
Inactive
AaronPlave
force-pushed
the
fix/1464/subscription-fixes
branch
from
January 22, 2025 16:10
b60a4df
to
b5e7a81
Compare
AaronPlave
temporarily deployed
to
test-workflow
January 22, 2025 16:10 — with
GitHub Actions
Inactive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactors gql subscription store so that the store only maintains a single subscription to the query within the web socket instead of N subscriptions where N is the number of files that the store is used within. This removes redundant subscriptions which could potentially cause performance issues in many cases. Note that the debugging of this code was difficult and that the current solution relies on debounce the creation of new subscriptions since the underlying graphql websocket library seems to not always be able to immediately execute unsubscribe calls which can cause duplication of queries and in some cases unsubscription from the incorrect queries.
Closes #1464.