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
I've queries and mutation and also subscribe (websocket) procedures in the backend.
However, websocket connection is established on client even when there are no subscribe calls made yet, i.e. on first page load, there is query calls only.
Ideally websocket connection should be established only when first .subscribe call is made from the client in order to conserve total connections on server.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've queries and mutation and also subscribe (websocket) procedures in the backend.
However, websocket connection is established on client even when there are no subscribe calls made yet, i.e. on first page load, there is query calls only.
Ideally websocket connection should be established only when first
.subscribe
call is made from the client in order to conserve total connections on server.Beta Was this translation helpful? Give feedback.
All reactions