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

[CORL-1281] Prevent viewNewEdges from being garbage collected #3121

Merged
merged 4 commits into from Aug 20, 2020

Conversation

cvle
Copy link
Member

@cvle cvle commented Aug 20, 2020

What does this PR do?

Any data in Relay gets garbage collected unless there is an active query or calling
Relay to specifically retain a query.

This PR inserts data queries to viewNewEdges to prevent garbage collection and also
upgrades Relay.

How do I test this PR?

  • Creates comments to trigger View New Comments in moderation queue.
  • Now click on the decision history, this triggers a query and also activates the garbage collector.
  • Now clicking on View New Comments should be working as expected.

@cvle cvle requested review from nick-funk, wyattjoh and tessalt and removed request for nick-funk August 20, 2020 15:30
@kgardnr kgardnr added this to the v6.3.3 milestone Aug 20, 2020
@kgardnr kgardnr added the 🚀 merge it! Pull requests that should be merged after status checks pass with a review label Aug 20, 2020
@kodiakhq kodiakhq bot merged commit e701628 into master Aug 20, 2020
@kodiakhq kodiakhq bot deleted the bug/CORL-1281 branch August 20, 2020 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 merge it! Pull requests that should be merged after status checks pass with a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants