Skip to content

Commit 29c391c

Browse files
authored
Merge pull request #7849 from TylerBloom/fix-client-delay-on-subscription-close
Fix client delay when subscription is terminated
2 parents 2edb6e0 + c7e514c commit 29c391c

File tree

3 files changed

+565
-539
lines changed

3 files changed

+565
-539
lines changed

.changeset/bright-needles-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/server": patch
3+
---
4+
5+
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 commit comments

Comments
 (0)