-
Expected Behaviour Actual Behaviour Debug Information Further Information |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I think if there is stuck subscriptions on server, this must be reported - it's pretty good opportunity for memory leak. |
Beta Was this translation helpful? Give feedback.
-
The server has exhaustive tests making sure the subscriptions get completed when necessary. I wouldn't say graphql-ws is causing this. Please make sure your subscription generators support the Furthermore, the server does not acknowledge a complete message with another complete message. If the client sent a complete message, the server is expected to complete the subscription - it does not need to notify the client. The server will only send complete messages if the subscription was ended on its side without the client requesting it. |
Beta Was this translation helpful? Give feedback.
The server has exhaustive tests making sure the subscriptions get completed when necessary. I wouldn't say graphql-ws is causing this. Please make sure your subscription generators support the
return
method.Furthermore, the server does not acknowledge a complete message with another complete message. If the client sent a complete message, the server is expected to complete the subscription - it does not need to notify the client. The server will only send complete messages if the subscription was ended on its side without the client requesting it.