You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: