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: Close the scheduled data loader registry upon completion of request #2007

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

srinivasankavitha
Copy link
Contributor

@srinivasankavitha srinivasankavitha commented Sep 12, 2024

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

Fixes a bug introduced in the spring-graphql integration. Upon completion of request execution, the scheduled data loader registry needs to be closed. Otherwise scheduled tasks for dataloader dispatching for a request would never get cleared out.
This is the equivalent of code in the BaseQueryExecutor: https://github.com/Netflix/dgs-framework/blob/master/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/BaseDgsQueryExecutor.kt#L132

@srinivasankavitha srinivasankavitha merged commit 2942c51 into master Sep 12, 2024
3 checks passed
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.

3 participants