Skip to content

Commit

Permalink
Merge pull request #7849 from TylerBloom/fix-client-delay-on-subscrip…
Browse files Browse the repository at this point in the history
…tion-close

Fix client delay when subscription is terminated
  • Loading branch information
TylerBloom committed Mar 15, 2024
2 parents 2edb6e0 + c7e514c commit 29c391c
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 539 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-needles-suffer.md
@@ -0,0 +1,5 @@
---
"@apollo/server": patch
---

In the subscription callback server plugin, terminating a subscription now immediately closes the internal async generator. This avoids that generator existing after termination and until the next message is received.

0 comments on commit 29c391c

Please sign in to comment.