-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
disconnect and reconnect after 10 minutes #136
Labels
question
Further information is requested
Comments
Because AWS Api Gateway has 10 minutes idle connection timeout, you need to send something yourself. I guess you can just create some query that returns a constant value and call it regularly. AWS lambda is stateless so there is no way for lambda to send you keep alive message. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone,
first of all thanks for this awesome library,
My websocket connection is reseting after 10 minutes, I've been trying to find a keep alive or ping option but can't find it.
I've seen that subscriptions-transport-ws is meant to receive those keep alive messages, not to send them, so this option exists in apollo server, any idea how to achieve that?
The text was updated successfully, but these errors were encountered: