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
{{ message }}
Repository navigation
Commit a499eec
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(graphql): reply with pong when the server sends a ping (#878)
* feat(graphql): reply with pong when the server sends a ping
The graphql-transport-ws protocol defines ping/pong as bidirectional and
requires the receiving party to answer a ping as soon as possible. The
client only ever sent pings, so a server-initiated ping fell through to
'unrecognized' and was silently dropped.
Inert on the legacy endpoint, which never initiates a ping (its heartbeat
is 'ka'); this prepares the client for /graphql/subscription-v2, whose
handler is configured with a 10s keep-alive that pings idle connections.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Update graphql.service.ts
* Update subscription-protocol.ts
---------
Co-authored-by: Stanislav Deviatykh <stanislav@qminder.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments