Configurable websocket keep-alive interval #3539
Labels
c/server
Related to server
e/easy
can be wrapped up in a couple of days
good first issue
Good for newcomers
k/enhancement
New feature or improve an existing feature
p/medium
non-urgent issues/features that are candidates for being included in one of the upcoming sprints
For websocket subscriptions, keep-alive messages are sent every 5 seconds. Is it possible to have this value be configurable? For example if I wanted to set it to 30 seconds instead, or disable it entirely.
It looks like it's hard-coded at the moment (assuming I'm looking at the right place):
graphql-engine/server/src-lib/Hasura/GraphQL/Transport/WebSocket.hs
Line 189 in b81d22f
The text was updated successfully, but these errors were encountered: